From 2a9297138db1a7dc1610e69b5f902b0e62795bb2 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Wed, 3 Nov 2021 19:51:35 +0300 Subject: Initial commit 0.3.1 --- .SRCINFO | 16 ++++++++++++++++ PKGBUILD | 21 +++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..6247c1d --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = ouch-bin + pkgdesc = Painless compression and decompression in the terminal (binary release) + pkgver = 0.3.1 + pkgrel = 1 + url = https://github.com/ouch-org/ouch + arch = x86_64 + license = MIT + provides = ouch + conflicts = ouch + conflicts = ouch-git + source = ouch::https://github.com/ouch-org/ouch/releases/download/0.3.1/ouch-x86_64-linux-musl + source = LICENSE::https://raw.githubusercontent.com/ouch-org/ouch/master/LICENSE + sha256sums = 48843b18aee48273e60456267c408163d51df046ad79a6cdd99c75c45cb79afe + sha256sums = f082ccc8a66b3fdbeb6d53d5fe084934fc6f480a9d1d9243d2c5d9e45ec76938 + +pkgname = ouch-bin diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..9bc3dfd --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,21 @@ +# Maintainer: Yigit Sever + +pkgname=ouch-bin +_pkgname=${pkgname%-bin} +pkgver=0.3.1 +pkgrel=1 +pkgdesc="Painless compression and decompression in the terminal (binary release)" +arch=('x86_64') +url="https://github.com/ouch-org/ouch" +license=('MIT') +provides=(${_pkgname}) +conflicts=(${_pkgname} ${_pkgname}-git) +source=("${_pkgname}::${url}/releases/download/${pkgver}/ouch-x86_64-linux-musl" + "LICENSE::https://raw.githubusercontent.com/ouch-org/ouch/master/LICENSE") +sha256sums=('48843b18aee48273e60456267c408163d51df046ad79a6cdd99c75c45cb79afe' + 'f082ccc8a66b3fdbeb6d53d5fe084934fc6f480a9d1d9243d2c5d9e45ec76938') + +package() { + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/${_pkgname}/LICENSE" + install -Dvm755 "${_pkgname}" -t "${pkgdir}/usr/bin" +} -- cgit v1.2.3-70-g09d2