aboutsummaryrefslogtreecommitdiffstats
path: root/median
diff options
context:
space:
mode:
Diffstat (limited to 'median')
-rw-r--r--median/PKGBUILD23
l---------median/upload1
2 files changed, 24 insertions, 0 deletions
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