diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | dvc/.SRCINFO | 49 | ||||
-rw-r--r-- | dvc/PKGBUILD | 40 | ||||
-rw-r--r-- | logisim-evolution/.SRCINFO | 7 | ||||
-rw-r--r-- | logisim-evolution/PKGBUILD | 55 | ||||
-rw-r--r-- | mandown-md-viewer/.SRCINFO | 6 | ||||
-rw-r--r-- | mandown-md-viewer/PKGBUILD | 4 | ||||
-rw-r--r-- | mandown-md-viewer/mandown-md-viewer.install | 6 | ||||
-rw-r--r-- | metadata-cleaner/.SRCINFO | 6 | ||||
-rw-r--r-- | metadata-cleaner/PKGBUILD | 4 | ||||
-rw-r--r-- | ouch-bin/.SRCINFO | 16 | ||||
-rw-r--r-- | ouch-bin/PKGBUILD | 21 | ||||
-rw-r--r-- | ouch-git/.SRCINFO | 16 | ||||
-rw-r--r-- | ouch-git/PKGBUILD | 51 | ||||
-rw-r--r-- | ouch/.SRCINFO | 14 | ||||
-rw-r--r-- | ouch/PKGBUILD | 45 |
16 files changed, 298 insertions, 43 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2d2ecd6 --- /dev/null +++ b/.gitignore | |||
@@ -0,0 +1 @@ | |||
.git/ | |||
diff --git a/dvc/.SRCINFO b/dvc/.SRCINFO new file mode 100644 index 0000000..955e60f --- /dev/null +++ b/dvc/.SRCINFO | |||
@@ -0,0 +1,49 @@ | |||
1 | pkgbase = dvc | ||
2 | pkgdesc = Open-source version control system for data science projects | ||
3 | pkgver = 2.8.3 | ||
4 | pkgrel = 1 | ||
5 | url = https://github.com/iterative/dvc | ||
6 | arch = any | ||
7 | license = Apache | ||
8 | makedepends = git | ||
9 | depends = python | ||
10 | depends = python-appdirs | ||
11 | depends = python-colorama | ||
12 | depends = python-configobj | ||
13 | depends = python-distro | ||
14 | depends = python-flufl-lock | ||
15 | depends = python-funcy | ||
16 | depends = python-gitdb | ||
17 | depends = python-gitpython | ||
18 | depends = python-humanize | ||
19 | depends = python-inflect | ||
20 | depends = python-packaging | ||
21 | depends = python-pathspec | ||
22 | depends = python-ply | ||
23 | depends = python-pyasn1 | ||
24 | depends = python-yaml | ||
25 | depends = python-requests | ||
26 | depends = python-ruamel-yaml | ||
27 | depends = python-setuptools | ||
28 | depends = python-shortuuid | ||
29 | depends = python-tqdm | ||
30 | depends = python-treelib | ||
31 | depends = python-voluptuous | ||
32 | depends = python-zc.lockfile | ||
33 | depends = python-nanotime | ||
34 | depends = python-grandalf | ||
35 | depends = python-ntfs | ||
36 | depends = python-shtab | ||
37 | depends = python-pygtrie | ||
38 | optdepends = python-google-cloud-storage: support for Google Cloud | ||
39 | optdepends = python-google-api-python-client: support for GDrive | ||
40 | optdepends = python-pydrive: support for GDrive | ||
41 | optdepends = python-boto3: support for AWS S3 remote | ||
42 | optdepends = python-paramiko: support for SSH remote | ||
43 | optdepends = python-azure-storage: support for Azure remote | ||
44 | optdepends = python-oss2: support for Aliyun Object Storage Service (OSS) | ||
45 | optdepends = python-pyarrow: support for HDFS remote | ||
46 | source = git+https://github.com/iterative/dvc/#commit=4175f9ffa4948157436283bef11153a7233e90ca | ||
47 | sha256sums = SKIP | ||
48 | |||
49 | pkgname = dvc | ||
diff --git a/dvc/PKGBUILD b/dvc/PKGBUILD new file mode 100644 index 0000000..baa792d --- /dev/null +++ b/dvc/PKGBUILD | |||
@@ -0,0 +1,40 @@ | |||
1 | # Maintainer: Stefan Husmann <stefan-husmann@t-online.de> | ||
2 | # Contributor: Lex Black <autumn-wind@web.de> | ||
3 | # Contributor: Mr. Outis <mroutis@protonmail.com> | ||
4 | |||
5 | pkgname=dvc | ||
6 | pkgver=2.8.3 | ||
7 | pkgrel=1 | ||
8 | pkgdesc="Open-source version control system for data science projects" | ||
9 | arch=('any') | ||
10 | license=('Apache') | ||
11 | url="https://github.com/iterative/${pkgname}" | ||
12 | depends=('python' 'python-appdirs' 'python-colorama' 'python-configobj' | ||
13 | 'python-distro' 'python-flufl-lock' 'python-funcy' 'python-gitdb' | ||
14 | 'python-gitpython' 'python-humanize' 'python-inflect' | ||
15 | 'python-packaging' 'python-pathspec' 'python-ply' 'python-pyasn1' | ||
16 | 'python-yaml' 'python-requests' 'python-ruamel-yaml' | ||
17 | 'python-setuptools' 'python-shortuuid' 'python-tqdm' | ||
18 | 'python-treelib' 'python-voluptuous' 'python-zc.lockfile' | ||
19 | 'python-nanotime' 'python-grandalf' 'python-ntfs' 'python-shtab' | ||
20 | 'python-pygtrie' | ||
21 | ) | ||
22 | optdepends=('python-google-cloud-storage: support for Google Cloud' | ||
23 | 'python-google-api-python-client: support for GDrive' | ||
24 | 'python-pydrive: support for GDrive' | ||
25 | 'python-boto3: support for AWS S3 remote' | ||
26 | 'python-paramiko: support for SSH remote' | ||
27 | 'python-azure-storage: support for Azure remote' | ||
28 | 'python-oss2: support for Aliyun Object Storage Service (OSS)' | ||
29 | 'python-pyarrow: support for HDFS remote' | ||
30 | ) | ||
31 | makedepends=('git') | ||
32 | |||
33 | source=("git+${url}/#commit=4175f9ffa4948157436283bef11153a7233e90ca") | ||
34 | sha256sums=('SKIP') | ||
35 | |||
36 | package() { | ||
37 | cd ${pkgname} | ||
38 | python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 | ||
39 | } | ||
40 | |||
diff --git a/logisim-evolution/.SRCINFO b/logisim-evolution/.SRCINFO index cf74612..75240ce 100644 --- a/logisim-evolution/.SRCINFO +++ b/logisim-evolution/.SRCINFO | |||
@@ -1,6 +1,6 @@ | |||
1 | pkgbase = logisim-evolution | 1 | pkgbase = logisim-evolution |
2 | pkgdesc = An educational tool for designing and simulating digital logic circuits (build from source) | 2 | pkgdesc = An educational tool for designing and simulating digital logic circuits (build from source) |
3 | pkgver = 3.7.1 | 3 | pkgver = 3.7.2 |
4 | pkgrel = 1 | 4 | pkgrel = 1 |
5 | url = https://github.com/reds-heig/logisim-evolution | 5 | url = https://github.com/reds-heig/logisim-evolution |
6 | install = logisim-evolution.install | 6 | install = logisim-evolution.install |
@@ -9,12 +9,11 @@ pkgbase = logisim-evolution | |||
9 | makedepends = java-environment>=16 | 9 | makedepends = java-environment>=16 |
10 | depends = java-runtime>=16 | 10 | depends = java-runtime>=16 |
11 | depends = hicolor-icon-theme | 11 | depends = hicolor-icon-theme |
12 | provides = logisim-evolution | ||
13 | conflicts = logisim-evolution-git | 12 | conflicts = logisim-evolution-git |
14 | conflicts = logisim-evolution-bin | 13 | conflicts = logisim-evolution-bin |
15 | source = logisim-evolution-3.7.1.tar.gz::https://github.com/reds-heig/logisim-evolution/archive/v3.7.1.tar.gz | 14 | source = logisim-evolution-3.7.2.tar.gz::https://github.com/reds-heig/logisim-evolution/archive/v3.7.2.tar.gz |
16 | source = logisim-evolution.sh | 15 | source = logisim-evolution.sh |
17 | sha256sums = c073c8113159e8127cee818fad32d5fbe943b1072459f5a914fd99906f19f179 | 16 | sha256sums = 523faf241cb1ec149c9808f043cb9d3ec5725a9cc6f7631edcfd1acf5c075d68 |
18 | sha256sums = d5975cc0025905ab8a8a451ce4362ba876bed88008d3a5b2c0a7f664a85da1ba | 17 | sha256sums = d5975cc0025905ab8a8a451ce4362ba876bed88008d3a5b2c0a7f664a85da1ba |
19 | 18 | ||
20 | pkgname = logisim-evolution | 19 | pkgname = logisim-evolution |
diff --git a/logisim-evolution/PKGBUILD b/logisim-evolution/PKGBUILD index f1023ae..0212316 100644 --- a/logisim-evolution/PKGBUILD +++ b/logisim-evolution/PKGBUILD | |||
@@ -9,52 +9,51 @@ | |||
9 | # Contributor: Renan Birck <renan.ee.ufsm at gmail.com> | 9 | # Contributor: Renan Birck <renan.ee.ufsm at gmail.com> |
10 | 10 | ||
11 | pkgname=logisim-evolution | 11 | pkgname=logisim-evolution |
12 | pkgver=3.7.1 | 12 | pkgver=3.7.2 |
13 | pkgrel=1 | 13 | pkgrel=1 |
14 | pkgdesc='An educational tool for designing and simulating digital logic circuits (build from source)' | 14 | pkgdesc='An educational tool for designing and simulating digital logic circuits (build from source)' |
15 | provides=('logisim-evolution') | 15 | conflicts=("${pkgname}-git" "${pkgname}-bin") |
16 | conflicts=('logisim-evolution-git' 'logisim-evolution-bin') | ||
17 | arch=('any') | 16 | arch=('any') |
18 | url="https://github.com/reds-heig/logisim-evolution" | 17 | url="https://github.com/reds-heig/logisim-evolution" |
19 | license=('GPL3') | 18 | license=('GPL3') |
20 | depends=('java-runtime>=16' 'hicolor-icon-theme') | 19 | depends=('java-runtime>=16' 'hicolor-icon-theme') |
21 | makedepends=('java-environment>=16') | 20 | makedepends=('java-environment>=16') |
22 | 21 | ||
23 | source=("${pkgname}-${pkgver}.tar.gz::https://github.com/reds-heig/logisim-evolution/archive/v${pkgver}.tar.gz" | 22 | source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz" |
24 | "${pkgname}.sh") | 23 | "${pkgname}.sh") |
25 | sha256sums=('c073c8113159e8127cee818fad32d5fbe943b1072459f5a914fd99906f19f179' | 24 | sha256sums=('523faf241cb1ec149c9808f043cb9d3ec5725a9cc6f7631edcfd1acf5c075d68' |
26 | 'd5975cc0025905ab8a8a451ce4362ba876bed88008d3a5b2c0a7f664a85da1ba') | 25 | 'd5975cc0025905ab8a8a451ce4362ba876bed88008d3a5b2c0a7f664a85da1ba') |
27 | 26 | ||
28 | install=$pkgname.install | 27 | install=$pkgname.install |
29 | 28 | ||
30 | build() { | 29 | build() { |
31 | cd "${srcdir}/${pkgname}-${pkgver}" | 30 | cd "${srcdir}/${pkgname}-${pkgver}" |
32 | ./gradlew shadowJar | 31 | ./gradlew shadowJar |
33 | } | 32 | } |
34 | 33 | ||
35 | prepare() { | 34 | prepare() { |
36 | cd "${srcdir}/${pkgname}-${pkgver}" | 35 | cd "${srcdir}/${pkgname}-${pkgver}" |
37 | sed -i 's/https/http/' "support/Flatpak/com.github.reds.LogisimEvolution.xml" | 36 | sed -i 's/https/http/' "support/Flatpak/com.github.reds.LogisimEvolution.xml" |
38 | } | 37 | } |
39 | 38 | ||
40 | package() { | 39 | package() { |
41 | cd "${srcdir}/${pkgname}-${pkgver}" | 40 | cd "${srcdir}/${pkgname}-${pkgver}" |
42 | install -Dm644 "build/libs/logisim-evolution-${pkgver}-all.jar" \ | 41 | install -Dm644 "build/libs/logisim-evolution-${pkgver}-all.jar" \ |
43 | "${pkgdir}/usr/share/java/${pkgname}/${pkgname}.jar" | 42 | "${pkgdir}/usr/share/java/${pkgname}/${pkgname}.jar" |
44 | install -Dm644 "support/Flatpak/com.github.reds.LogisimEvolution.xml" \ | 43 | install -Dm644 "support/Flatpak/com.github.reds.LogisimEvolution.xml" \ |
45 | "${pkgdir}/usr/share/mime/packages/${pkgname}.xml" | 44 | "${pkgdir}/usr/share/mime/packages/${pkgname}.xml" |
46 | install -Dm644 "support/Flatpak/com.github.reds.LogisimEvolution.desktop" \ | 45 | install -Dm644 "support/Flatpak/com.github.reds.LogisimEvolution.desktop" \ |
47 | "${pkgdir}/usr/share/applications/${pkgname}.desktop" | 46 | "${pkgdir}/usr/share/applications/${pkgname}.desktop" |
48 | 47 | ||
49 | for SIZE in 16 32 48 128 256; do | 48 | for SIZE in 16 32 48 128 256; do |
50 | install -Dm644 \ | 49 | install -Dm644 \ |
51 | "src/main/resources/resources/logisim/img/logisim-icon-${SIZE}.png" \ | 50 | "src/main/resources/resources/logisim/img/logisim-icon-${SIZE}.png" \ |
52 | "${pkgdir}/usr/share/icons/hicolor/${SIZE}x${SIZE}/apps/${pkgname}.png" | 51 | "${pkgdir}/usr/share/icons/hicolor/${SIZE}x${SIZE}/apps/${pkgname}.png" |
53 | done | 52 | done |
54 | 53 | ||
55 | install -Dm755 "${srcdir}/${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}" | 54 | install -Dm755 "${srcdir}/${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}" |
56 | 55 | ||
57 | sed -e 's|Exec=.*|Exec=/usr/bin/logisim-evolution|' \ | 56 | sed -e 's|Exec=.*|Exec=/usr/bin/logisim-evolution|' \ |
58 | -e 's|com.github.reds.LogisimEvolution|logisim-evolution|' \ | 57 | -e 's|com.github.reds.LogisimEvolution|logisim-evolution|' \ |
59 | -i "${pkgdir}/usr/share/applications/${pkgname}.desktop" | 58 | -i "${pkgdir}/usr/share/applications/${pkgname}.desktop" |
60 | } | 59 | } |
diff --git a/mandown-md-viewer/.SRCINFO b/mandown-md-viewer/.SRCINFO index 9fd0eed..53521b4 100644 --- a/mandown-md-viewer/.SRCINFO +++ b/mandown-md-viewer/.SRCINFO | |||
@@ -1,6 +1,6 @@ | |||
1 | pkgbase = mandown-md-viewer | 1 | pkgbase = mandown-md-viewer |
2 | pkgdesc = man-page inspired Markdown viewer | 2 | pkgdesc = man-page inspired Markdown viewer |
3 | pkgver = 1.0.3 | 3 | pkgver = 1.0.4 |
4 | pkgrel = 1 | 4 | pkgrel = 1 |
5 | url = https://github.com/Titor8115/mandown | 5 | url = https://github.com/Titor8115/mandown |
6 | install = mandown-md-viewer.install | 6 | install = mandown-md-viewer.install |
@@ -8,7 +8,7 @@ pkgbase = mandown-md-viewer | |||
8 | license = MIT | 8 | license = MIT |
9 | makedepends = ncurses | 9 | makedepends = ncurses |
10 | makedepends = libxml2 | 10 | makedepends = libxml2 |
11 | source = mandown-1.0.3.tar.gz::https://github.com/Titor8115/mandown/archive/refs/tags/v1.0.3.tar.gz | 11 | source = mandown-1.0.4.tar.gz::https://github.com/Titor8115/mandown/archive/refs/tags/v1.0.4.tar.gz |
12 | sha256sums = df92ca18315a7507ac93e2246d9ee2ad5363dcf4d266b57d5eb10b4123afa25c | 12 | sha256sums = dc719e6a28a4585fe89458eb8c810140ed5175512b089b4815b3dda6a954ce3e |
13 | 13 | ||
14 | pkgname = mandown-md-viewer | 14 | pkgname = mandown-md-viewer |
diff --git a/mandown-md-viewer/PKGBUILD b/mandown-md-viewer/PKGBUILD index bb47bbc..512f419 100644 --- a/mandown-md-viewer/PKGBUILD +++ b/mandown-md-viewer/PKGBUILD | |||
@@ -1,7 +1,7 @@ | |||
1 | # Maintainer: Yigit Sever <yigit at yigitsever dot com> | 1 | # Maintainer: Yigit Sever <yigit at yigitsever dot com> |
2 | pkgname=mandown-md-viewer | 2 | pkgname=mandown-md-viewer |
3 | _pkgname=mandown | 3 | _pkgname=mandown |
4 | pkgver=1.0.3 | 4 | pkgver=1.0.4 |
5 | pkgrel=1 | 5 | pkgrel=1 |
6 | pkgdesc="man-page inspired Markdown viewer" | 6 | pkgdesc="man-page inspired Markdown viewer" |
7 | arch=('x86_64') | 7 | arch=('x86_64') |
@@ -10,7 +10,7 @@ license=('MIT') | |||
10 | makedepends=('ncurses' 'libxml2') | 10 | makedepends=('ncurses' 'libxml2') |
11 | install="${pkgname}.install" | 11 | install="${pkgname}.install" |
12 | source=("$_pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v${pkgver}.tar.gz") | 12 | source=("$_pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v${pkgver}.tar.gz") |
13 | sha256sums=('df92ca18315a7507ac93e2246d9ee2ad5363dcf4d266b57d5eb10b4123afa25c') | 13 | sha256sums=('dc719e6a28a4585fe89458eb8c810140ed5175512b089b4815b3dda6a954ce3e') |
14 | 14 | ||
15 | build() { | 15 | build() { |
16 | cd "$_pkgname-$pkgver" | 16 | cd "$_pkgname-$pkgver" |
diff --git a/mandown-md-viewer/mandown-md-viewer.install b/mandown-md-viewer/mandown-md-viewer.install index 919c6b3..3b8677c 100644 --- a/mandown-md-viewer/mandown-md-viewer.install +++ b/mandown-md-viewer/mandown-md-viewer.install | |||
@@ -1,4 +1,8 @@ | |||
1 | post_install() { | 1 | pre_install() { |
2 | pre_upgrade | ||
3 | } | ||
4 | |||
5 | pre_upgrade() { | ||
2 | cat << EOF | 6 | cat << EOF |
3 | 7 | ||
4 | The name of the executable is 'mdn' | 8 | The name of the executable is 'mdn' |
diff --git a/metadata-cleaner/.SRCINFO b/metadata-cleaner/.SRCINFO index a7387f8..fde03bd 100644 --- a/metadata-cleaner/.SRCINFO +++ b/metadata-cleaner/.SRCINFO | |||
@@ -1,6 +1,6 @@ | |||
1 | pkgbase = metadata-cleaner | 1 | pkgbase = metadata-cleaner |
2 | pkgdesc = Python GTK application to view and clean metadata in files, using mat2 | 2 | pkgdesc = Python GTK application to view and clean metadata in files, using mat2 |
3 | pkgver = 2.0.1 | 3 | pkgver = 2.1.1 |
4 | pkgrel = 1 | 4 | pkgrel = 1 |
5 | url = https://gitlab.com/rmnvgr/metadata-cleaner | 5 | url = https://gitlab.com/rmnvgr/metadata-cleaner |
6 | arch = x86_64 | 6 | arch = x86_64 |
@@ -16,7 +16,7 @@ pkgbase = metadata-cleaner | |||
16 | depends = libadwaita | 16 | depends = libadwaita |
17 | depends = mat2 | 17 | depends = mat2 |
18 | depends = python-gobject | 18 | depends = python-gobject |
19 | source = metadata-cleaner-2.0.1.tar.gz::https://gitlab.com/rmnvgr/metadata-cleaner/-/archive/v2.0.1/metadata-cleaner-v2.0.1.tar.gz | 19 | source = metadata-cleaner-2.1.1.tar.gz::https://gitlab.com/rmnvgr/metadata-cleaner/-/archive/v2.1.1/metadata-cleaner-v2.1.1.tar.gz |
20 | sha256sums = 035604849bf1d7a1b2e6315a0f643c4c45e3221546e24f97b28d38960ed79c18 | 20 | sha256sums = d0b67a9cff9ac96369fec9fbe486d4e6c2465cd19c3524a5fab8c7275385e875 |
21 | 21 | ||
22 | pkgname = metadata-cleaner | 22 | pkgname = metadata-cleaner |
diff --git a/metadata-cleaner/PKGBUILD b/metadata-cleaner/PKGBUILD index f1edfa0..425e5d5 100644 --- a/metadata-cleaner/PKGBUILD +++ b/metadata-cleaner/PKGBUILD | |||
@@ -3,7 +3,7 @@ | |||
3 | # Contributor: lxsycht <lux@systemli.org> | 3 | # Contributor: lxsycht <lux@systemli.org> |
4 | 4 | ||
5 | pkgname=metadata-cleaner | 5 | pkgname=metadata-cleaner |
6 | pkgver=2.0.1 | 6 | pkgver=2.1.1 |
7 | pkgrel=1 | 7 | pkgrel=1 |
8 | pkgdesc="Python GTK application to view and clean metadata in files, using mat2" | 8 | pkgdesc="Python GTK application to view and clean metadata in files, using mat2" |
9 | arch=('x86_64') | 9 | arch=('x86_64') |
@@ -13,7 +13,7 @@ depends=('gtk4' 'libadwaita' 'mat2' 'python-gobject') | |||
13 | makedepends=('itstool' 'meson') | 13 | makedepends=('itstool' 'meson') |
14 | checkdepends=('appstream' 'mypy' 'python-pycodestyle' 'python-pydocstyle' 'reuse') | 14 | checkdepends=('appstream' 'mypy' 'python-pycodestyle' 'python-pydocstyle' 'reuse') |
15 | source=("${pkgname}-${pkgver}.tar.gz::${url}/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz") | 15 | source=("${pkgname}-${pkgver}.tar.gz::${url}/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz") |
16 | sha256sums=('9a52c06680729cfc4de4a7bc24e9c2ae19930892b4130a57c4fa7db1d496709c') | 16 | sha256sums=('d0b67a9cff9ac96369fec9fbe486d4e6c2465cd19c3524a5fab8c7275385e875') |
17 | 17 | ||
18 | build() { | 18 | build() { |
19 | arch-meson "$pkgname-v$pkgver" build | 19 | arch-meson "$pkgname-v$pkgver" build |
diff --git a/ouch-bin/.SRCINFO b/ouch-bin/.SRCINFO new file mode 100644 index 0000000..6247c1d --- /dev/null +++ b/ouch-bin/.SRCINFO | |||
@@ -0,0 +1,16 @@ | |||
1 | pkgbase = ouch-bin | ||
2 | pkgdesc = Painless compression and decompression in the terminal (binary release) | ||
3 | pkgver = 0.3.1 | ||
4 | pkgrel = 1 | ||
5 | url = https://github.com/ouch-org/ouch | ||
6 | arch = x86_64 | ||
7 | license = MIT | ||
8 | provides = ouch | ||
9 | conflicts = ouch | ||
10 | conflicts = ouch-git | ||
11 | source = ouch::https://github.com/ouch-org/ouch/releases/download/0.3.1/ouch-x86_64-linux-musl | ||
12 | source = LICENSE::https://raw.githubusercontent.com/ouch-org/ouch/master/LICENSE | ||
13 | sha256sums = 48843b18aee48273e60456267c408163d51df046ad79a6cdd99c75c45cb79afe | ||
14 | sha256sums = f082ccc8a66b3fdbeb6d53d5fe084934fc6f480a9d1d9243d2c5d9e45ec76938 | ||
15 | |||
16 | pkgname = ouch-bin | ||
diff --git a/ouch-bin/PKGBUILD b/ouch-bin/PKGBUILD new file mode 100644 index 0000000..9bc3dfd --- /dev/null +++ b/ouch-bin/PKGBUILD | |||
@@ -0,0 +1,21 @@ | |||
1 | # Maintainer: Yigit Sever <yigit at yigitsever dot com> | ||
2 | |||
3 | pkgname=ouch-bin | ||
4 | _pkgname=${pkgname%-bin} | ||
5 | pkgver=0.3.1 | ||
6 | pkgrel=1 | ||
7 | pkgdesc="Painless compression and decompression in the terminal (binary release)" | ||
8 | arch=('x86_64') | ||
9 | url="https://github.com/ouch-org/ouch" | ||
10 | license=('MIT') | ||
11 | provides=(${_pkgname}) | ||
12 | conflicts=(${_pkgname} ${_pkgname}-git) | ||
13 | source=("${_pkgname}::${url}/releases/download/${pkgver}/ouch-x86_64-linux-musl" | ||
14 | "LICENSE::https://raw.githubusercontent.com/ouch-org/ouch/master/LICENSE") | ||
15 | sha256sums=('48843b18aee48273e60456267c408163d51df046ad79a6cdd99c75c45cb79afe' | ||
16 | 'f082ccc8a66b3fdbeb6d53d5fe084934fc6f480a9d1d9243d2c5d9e45ec76938') | ||
17 | |||
18 | package() { | ||
19 | install -Dm644 LICENSE "$pkgdir/usr/share/licenses/${_pkgname}/LICENSE" | ||
20 | install -Dvm755 "${_pkgname}" -t "${pkgdir}/usr/bin" | ||
21 | } | ||
diff --git a/ouch-git/.SRCINFO b/ouch-git/.SRCINFO new file mode 100644 index 0000000..8f5b5e1 --- /dev/null +++ b/ouch-git/.SRCINFO | |||
@@ -0,0 +1,16 @@ | |||
1 | pkgbase = ouch-git | ||
2 | pkgdesc = Painless compression and decompression in the terminal (git version) | ||
3 | pkgver = r397.abf1d4e | ||
4 | pkgrel = 1 | ||
5 | url = https://github.com/ouch-org/ouch/ | ||
6 | arch = x86_64 | ||
7 | license = MIT | ||
8 | makedepends = git | ||
9 | makedepends = cargo | ||
10 | provides = ouch | ||
11 | conflicts = ouch | ||
12 | conflicts = ouch-bin | ||
13 | source = ouch::git+https://github.com/ouch-org/ouch/ | ||
14 | sha256sums = SKIP | ||
15 | |||
16 | pkgname = ouch-git | ||
diff --git a/ouch-git/PKGBUILD b/ouch-git/PKGBUILD new file mode 100644 index 0000000..8e036ce --- /dev/null +++ b/ouch-git/PKGBUILD | |||
@@ -0,0 +1,51 @@ | |||
1 | # Maintainer: Yigit Sever <yigit at yigitsever dot com> | ||
2 | |||
3 | pkgname=ouch-git | ||
4 | _pkgname=${pkgname%-git} | ||
5 | pkgver=r397.abf1d4e | ||
6 | pkgrel=1 | ||
7 | pkgdesc="Painless compression and decompression in the terminal (git version)" | ||
8 | arch=('x86_64') | ||
9 | url="https://github.com/ouch-org/ouch/" | ||
10 | license=('MIT') | ||
11 | makedepends=('git' 'cargo') | ||
12 | provides=(${_pkgname}) | ||
13 | conflicts=(${_pkgname} ${_pkgname}-bin) | ||
14 | source=("${_pkgname}::git+${url}") | ||
15 | sha256sums=('SKIP') | ||
16 | |||
17 | pkgver() { | ||
18 | cd "$srcdir/${_pkgname}" | ||
19 | printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" | ||
20 | } | ||
21 | |||
22 | prepare() { | ||
23 | cd "$srcdir/${_pkgname}" | ||
24 | cargo fetch --locked --target "$CARCH-unknown-linux-gnu" | ||
25 | } | ||
26 | |||
27 | build() { | ||
28 | cd "$srcdir/${_pkgname}" | ||
29 | export RUSTUP_TOOLCHAIN=stable | ||
30 | export CARGO_TARGET_DIR=target | ||
31 | GEN_COMPLETIONS=1 cargo build --frozen --release --all-features | ||
32 | } | ||
33 | |||
34 | check() { | ||
35 | cd "$srcdir/${_pkgname}" | ||
36 | export RUSTUP_TOOLCHAIN=stable | ||
37 | cargo test --frozen --all-features | ||
38 | } | ||
39 | |||
40 | package() { | ||
41 | cd "$srcdir/${_pkgname}" | ||
42 | install -Dm0755 -t "$pkgdir/usr/bin/" "target/release/${_pkgname}" | ||
43 | install -Dm644 LICENSE "$pkgdir/usr/share/licenses/${_pkgname}/LICENSE" | ||
44 | |||
45 | cd target/release/build/ouch-*/out/completions | ||
46 | sed -i "s/':output -- The resulting file. It's extensions can be used to specify the compression formats:_files'/\":output -- The resulting file. It's extensions can be used to specify the compression formats:_files\"/" _ouch | ||
47 | |||
48 | install -Dm0644 ${_pkgname}.bash "${pkgdir}/usr/share/bash-completion/completions/${_pkgname}" | ||
49 | install -Dm0644 ${_pkgname}.fish "${pkgdir}/usr/share/fish/vendor_completions.d/${_pkgname}.fish" | ||
50 | install -Dm0644 _${_pkgname} "${pkgdir}/usr/share/zsh/site-functions/_${_pkgname}" | ||
51 | } | ||
diff --git a/ouch/.SRCINFO b/ouch/.SRCINFO new file mode 100644 index 0000000..37e0570 --- /dev/null +++ b/ouch/.SRCINFO | |||
@@ -0,0 +1,14 @@ | |||
1 | pkgbase = ouch | ||
2 | pkgdesc = Painless compression and decompression in the terminal | ||
3 | pkgver = 0.3.1 | ||
4 | pkgrel = 3 | ||
5 | url = https://github.com/ouch-org/ouch | ||
6 | arch = x86_64 | ||
7 | license = MIT | ||
8 | makedepends = cargo | ||
9 | conflicts = ouch-git | ||
10 | conflicts = ouch-bin | ||
11 | source = ouch-0.3.1.tar.gz::https://github.com/ouch-org/ouch/archive/0.3.1.tar.gz | ||
12 | sha256sums = 269abaf5ac2f80da3796dbf5e73419c1b64104d1295f3ff57965141f079e6f6d | ||
13 | |||
14 | pkgname = ouch | ||
diff --git a/ouch/PKGBUILD b/ouch/PKGBUILD new file mode 100644 index 0000000..5d3f5fa --- /dev/null +++ b/ouch/PKGBUILD | |||
@@ -0,0 +1,45 @@ | |||
1 | # Maintainer: Yigit Sever <yigit at yigitsever dot com> | ||
2 | |||
3 | pkgname=ouch | ||
4 | pkgver=0.3.1 | ||
5 | pkgrel=3 | ||
6 | pkgdesc="Painless compression and decompression in the terminal" | ||
7 | arch=('x86_64') | ||
8 | url="https://github.com/ouch-org/ouch" | ||
9 | license=('MIT') | ||
10 | makedepends=('cargo') | ||
11 | conflicts=(${pkgname}-git ${pkgname}-bin) | ||
12 | source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz") | ||
13 | sha256sums=('269abaf5ac2f80da3796dbf5e73419c1b64104d1295f3ff57965141f079e6f6d') | ||
14 | |||
15 | prepare() { | ||
16 | cd "$srcdir/$pkgname-$pkgver" | ||
17 | cargo fetch --locked --target "$CARCH-unknown-linux-gnu" | ||
18 | } | ||
19 | |||
20 | build() { | ||
21 | cd "$srcdir/$pkgname-$pkgver" | ||
22 | export RUSTUP_TOOLCHAIN=stable | ||
23 | export CARGO_TARGET_DIR=target | ||
24 | GEN_COMPLETIONS=1 cargo build --frozen --release --all-features | ||
25 | } | ||
26 | |||
27 | check() { | ||
28 | cd "$srcdir/$pkgname-$pkgver" | ||
29 | export RUSTUP_TOOLCHAIN=stable | ||
30 | cargo test --frozen --all-features | ||
31 | } | ||
32 | |||
33 | package() { | ||
34 | cd "$srcdir/$pkgname-$pkgver" | ||
35 | |||
36 | install -Dm0755 -t "$pkgdir/usr/bin/" "target/release/$pkgname" | ||
37 | install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" | ||
38 | |||
39 | cd target/release/build/ouch-*/out/completions | ||
40 | sed -i "s/':output -- The resulting file. It's extensions can be used to specify the compression formats:_files'/\":output -- The resulting file. It's extensions can be used to specify the compression formats:_files\"/" _ouch | ||
41 | |||
42 | install -Dm0644 ${pkgname}.bash "${pkgdir}/usr/share/bash-completion/completions/${pkgname}" | ||
43 | install -Dm0644 ${pkgname}.fish "${pkgdir}/usr/share/fish/vendor_completions.d/${pkgname}.fish" | ||
44 | install -Dm0644 _${pkgname} "${pkgdir}/usr/share/zsh/site-functions/_${pkgname}" | ||
45 | } | ||