aboutsummaryrefslogtreecommitdiffstats
path: root/median/PKGBUILD
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-02-23 01:19:27 +0100
committerMattias Andrée <maandree@kth.se>2021-02-23 01:19:27 +0100
commitdf24585bc23807eb50d6a868204425b092f5c143 (patch)
treed88415fe22dc27457c86dcc5dd06703c1442268a /median/PKGBUILD
parentUpdate krandom (diff)
downloadaur-packages-df24585bc23807eb50d6a868204425b092f5c143.tar.gz
aur-packages-df24585bc23807eb50d6a868204425b092f5c143.tar.bz2
aur-packages-df24585bc23807eb50d6a868204425b092f5c143.tar.xz
Add median
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'median/PKGBUILD')
-rw-r--r--median/PKGBUILD23
1 files changed, 23 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
+}