From df24585bc23807eb50d6a868204425b092f5c143 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 23 Feb 2021 01:19:27 +0100 Subject: Add median MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- median/PKGBUILD | 23 +++++++++++++++++++++++ median/upload | 1 + 2 files changed, 24 insertions(+) create mode 100644 median/PKGBUILD create mode 120000 median/upload diff --git a/median/PKGBUILD b/median/PKGBUILD new file mode 100644 index 0000000..28686c4 --- /dev/null +++ b/median/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@kth.se> + +pkgname=median +pkgver=2.0 +pkgrel=1 +pkgdesc="Calculate the median values for a set of groups" +arch=(x86_64) +url="https://github.com/maandree/median" +license=(custom:ISC) +depends=() +makedepends=() +source=($pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz) +sha256sums=(fcbdc9116b3eb5503fcb98a198ae45ecdf1a46116a307299904e1ba77204ee7e) + +build() { + cd "$srcdir/$pkgname-$pkgver" + make PREFIX=/usr +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make PREFIX=/usr DESTDIR="$pkgdir" install +} diff --git a/median/upload b/median/upload new file mode 120000 index 0000000..1e7a8be --- /dev/null +++ b/median/upload @@ -0,0 +1 @@ +../upload \ No newline at end of file -- cgit v1.2.3-70-g09d2