aboutsummaryrefslogtreecommitdiffstats
path: root/dist/archlinux/stable/PKGBUILD
blob: a2f532a8bb150042487bfb54e2cc18fc43b1b3ba (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
24
25
26
27
# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>

pkgname=median
pkgver=1.1
pkgrel=1
pkgdesc="Calculate the median values for a set of groups"
arch=(any)
url="https://github.com/maandree/median"
license=(GPL3)
depends=(python3)
makedepends=(make coreutils texinfo)
install=$pkgname.install
source=($url/archive/$pkgver.tar.gz)
sha256sums=(f0dccd9ef39ee5885bd81f9b0f31a8bb7ff84e8939267aae6118361c33db09e6)


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


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