diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..9bc3dfd --- /dev/null +++ b/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 | } | ||