aboutsummaryrefslogtreecommitdiffstats
path: root/libcoopgamma/PKGBUILD
blob: 8d89e269bd43638f071a2f7567704d8f06609cfe (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
28
# Maintainer: Mattias Andrée <m@`base64 -d`(bWFhbmRyZWU).se>

pkgname=libcoopgamma
pkgver=1.2.3
pkgrel=1
pkgdesc="Cooperative gamma library"
arch=(i686 x86_64)
url="https://codeberg.org/maandree/libcoopgamma"
license=('ISC')
depends=(coopgammad)
source=($pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz)
sha512sums=(8f0c5324e914cda02673cbc66f298bfe3bde2cb174d81a59a5994d4b1ae32e9f71a79a19cacbb046c3919d418cc860e830669f9eaa4eac3ee525f070c00222a4)


build() {
    cd "$srcdir/$pkgname"
    make
}

check() {
    cd "$srcdir/$pkgname"
    make check
}

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