aboutsummaryrefslogtreecommitdiffstats
path: root/median/PKGBUILD
blob: 2b3d0d2abf6e9647fe600243e5bcb5ccec56d846 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@kth.se>

pkgname=median
pkgver=2.0.1
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=(1b9dec4912934057f430ef76bed717f6b3c69945768176b8b77bb67049e567b2)

build() {
    cd "$srcdir/$pkgname-$pkgver"
    make PREFIX=/usr
}

package() {
    cd "$srcdir/$pkgname-$pkgver"
    make PREFIX=/usr DESTDIR="$pkgdir" install
}