summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--dvc/.SRCINFO49
-rw-r--r--dvc/PKGBUILD40
-rw-r--r--logisim-evolution/.SRCINFO7
-rw-r--r--logisim-evolution/PKGBUILD55
-rw-r--r--mandown-md-viewer/.SRCINFO6
-rw-r--r--mandown-md-viewer/PKGBUILD4
-rw-r--r--mandown-md-viewer/mandown-md-viewer.install6
-rw-r--r--metadata-cleaner/.SRCINFO6
-rw-r--r--metadata-cleaner/PKGBUILD4
-rw-r--r--ouch-bin/.SRCINFO16
-rw-r--r--ouch-bin/PKGBUILD21
-rw-r--r--ouch-git/.SRCINFO16
-rw-r--r--ouch-git/PKGBUILD51
-rw-r--r--ouch/.SRCINFO14
-rw-r--r--ouch/PKGBUILD45
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 @@
1pkgbase = 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
49pkgname = 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
5pkgname=dvc
6pkgver=2.8.3
7pkgrel=1
8pkgdesc="Open-source version control system for data science projects"
9arch=('any')
10license=('Apache')
11url="https://github.com/iterative/${pkgname}"
12depends=('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)
22optdepends=('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 )
31makedepends=('git')
32
33source=("git+${url}/#commit=4175f9ffa4948157436283bef11153a7233e90ca")
34sha256sums=('SKIP')
35
36package() {
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 @@
1pkgbase = logisim-evolution 1pkgbase = 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
20pkgname = logisim-evolution 19pkgname = 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
11pkgname=logisim-evolution 11pkgname=logisim-evolution
12pkgver=3.7.1 12pkgver=3.7.2
13pkgrel=1 13pkgrel=1
14pkgdesc='An educational tool for designing and simulating digital logic circuits (build from source)' 14pkgdesc='An educational tool for designing and simulating digital logic circuits (build from source)'
15provides=('logisim-evolution') 15conflicts=("${pkgname}-git" "${pkgname}-bin")
16conflicts=('logisim-evolution-git' 'logisim-evolution-bin')
17arch=('any') 16arch=('any')
18url="https://github.com/reds-heig/logisim-evolution" 17url="https://github.com/reds-heig/logisim-evolution"
19license=('GPL3') 18license=('GPL3')
20depends=('java-runtime>=16' 'hicolor-icon-theme') 19depends=('java-runtime>=16' 'hicolor-icon-theme')
21makedepends=('java-environment>=16') 20makedepends=('java-environment>=16')
22 21
23source=("${pkgname}-${pkgver}.tar.gz::https://github.com/reds-heig/logisim-evolution/archive/v${pkgver}.tar.gz" 22source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz"
24 "${pkgname}.sh") 23 "${pkgname}.sh")
25sha256sums=('c073c8113159e8127cee818fad32d5fbe943b1072459f5a914fd99906f19f179' 24sha256sums=('523faf241cb1ec149c9808f043cb9d3ec5725a9cc6f7631edcfd1acf5c075d68'
26 'd5975cc0025905ab8a8a451ce4362ba876bed88008d3a5b2c0a7f664a85da1ba') 25 'd5975cc0025905ab8a8a451ce4362ba876bed88008d3a5b2c0a7f664a85da1ba')
27 26
28install=$pkgname.install 27install=$pkgname.install
29 28
30build() { 29build() {
31 cd "${srcdir}/${pkgname}-${pkgver}" 30 cd "${srcdir}/${pkgname}-${pkgver}"
32 ./gradlew shadowJar 31 ./gradlew shadowJar
33} 32}
34 33
35prepare() { 34prepare() {
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
40package() { 39package() {
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 @@
1pkgbase = mandown-md-viewer 1pkgbase = 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
14pkgname = mandown-md-viewer 14pkgname = 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>
2pkgname=mandown-md-viewer 2pkgname=mandown-md-viewer
3_pkgname=mandown 3_pkgname=mandown
4pkgver=1.0.3 4pkgver=1.0.4
5pkgrel=1 5pkgrel=1
6pkgdesc="man-page inspired Markdown viewer" 6pkgdesc="man-page inspired Markdown viewer"
7arch=('x86_64') 7arch=('x86_64')
@@ -10,7 +10,7 @@ license=('MIT')
10makedepends=('ncurses' 'libxml2') 10makedepends=('ncurses' 'libxml2')
11install="${pkgname}.install" 11install="${pkgname}.install"
12source=("$_pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v${pkgver}.tar.gz") 12source=("$_pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v${pkgver}.tar.gz")
13sha256sums=('df92ca18315a7507ac93e2246d9ee2ad5363dcf4d266b57d5eb10b4123afa25c') 13sha256sums=('dc719e6a28a4585fe89458eb8c810140ed5175512b089b4815b3dda6a954ce3e')
14 14
15build() { 15build() {
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 @@
1post_install() { 1pre_install() {
2 pre_upgrade
3}
4
5pre_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 @@
1pkgbase = metadata-cleaner 1pkgbase = 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
22pkgname = metadata-cleaner 22pkgname = 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
5pkgname=metadata-cleaner 5pkgname=metadata-cleaner
6pkgver=2.0.1 6pkgver=2.1.1
7pkgrel=1 7pkgrel=1
8pkgdesc="Python GTK application to view and clean metadata in files, using mat2" 8pkgdesc="Python GTK application to view and clean metadata in files, using mat2"
9arch=('x86_64') 9arch=('x86_64')
@@ -13,7 +13,7 @@ depends=('gtk4' 'libadwaita' 'mat2' 'python-gobject')
13makedepends=('itstool' 'meson') 13makedepends=('itstool' 'meson')
14checkdepends=('appstream' 'mypy' 'python-pycodestyle' 'python-pydocstyle' 'reuse') 14checkdepends=('appstream' 'mypy' 'python-pycodestyle' 'python-pydocstyle' 'reuse')
15source=("${pkgname}-${pkgver}.tar.gz::${url}/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz") 15source=("${pkgname}-${pkgver}.tar.gz::${url}/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz")
16sha256sums=('9a52c06680729cfc4de4a7bc24e9c2ae19930892b4130a57c4fa7db1d496709c') 16sha256sums=('d0b67a9cff9ac96369fec9fbe486d4e6c2465cd19c3524a5fab8c7275385e875')
17 17
18build() { 18build() {
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 @@
1pkgbase = 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
16pkgname = 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
3pkgname=ouch-bin
4_pkgname=${pkgname%-bin}
5pkgver=0.3.1
6pkgrel=1
7pkgdesc="Painless compression and decompression in the terminal (binary release)"
8arch=('x86_64')
9url="https://github.com/ouch-org/ouch"
10license=('MIT')
11provides=(${_pkgname})
12conflicts=(${_pkgname} ${_pkgname}-git)
13source=("${_pkgname}::${url}/releases/download/${pkgver}/ouch-x86_64-linux-musl"
14 "LICENSE::https://raw.githubusercontent.com/ouch-org/ouch/master/LICENSE")
15sha256sums=('48843b18aee48273e60456267c408163d51df046ad79a6cdd99c75c45cb79afe'
16 'f082ccc8a66b3fdbeb6d53d5fe084934fc6f480a9d1d9243d2c5d9e45ec76938')
17
18package() {
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 @@
1pkgbase = 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
16pkgname = 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
3pkgname=ouch-git
4_pkgname=${pkgname%-git}
5pkgver=r397.abf1d4e
6pkgrel=1
7pkgdesc="Painless compression and decompression in the terminal (git version)"
8arch=('x86_64')
9url="https://github.com/ouch-org/ouch/"
10license=('MIT')
11makedepends=('git' 'cargo')
12provides=(${_pkgname})
13conflicts=(${_pkgname} ${_pkgname}-bin)
14source=("${_pkgname}::git+${url}")
15sha256sums=('SKIP')
16
17pkgver() {
18 cd "$srcdir/${_pkgname}"
19 printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
20}
21
22prepare() {
23 cd "$srcdir/${_pkgname}"
24 cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
25}
26
27build() {
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
34check() {
35 cd "$srcdir/${_pkgname}"
36 export RUSTUP_TOOLCHAIN=stable
37 cargo test --frozen --all-features
38}
39
40package() {
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 @@
1pkgbase = 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
14pkgname = 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
3pkgname=ouch
4pkgver=0.3.1
5pkgrel=3
6pkgdesc="Painless compression and decompression in the terminal"
7arch=('x86_64')
8url="https://github.com/ouch-org/ouch"
9license=('MIT')
10makedepends=('cargo')
11conflicts=(${pkgname}-git ${pkgname}-bin)
12source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
13sha256sums=('269abaf5ac2f80da3796dbf5e73419c1b64104d1295f3ff57965141f079e6f6d')
14
15prepare() {
16 cd "$srcdir/$pkgname-$pkgver"
17 cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
18}
19
20build() {
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
27check() {
28 cd "$srcdir/$pkgname-$pkgver"
29 export RUSTUP_TOOLCHAIN=stable
30 cargo test --frozen --all-features
31}
32
33package() {
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}