summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5e618a0aa9bcba3a82ff8deb3edf09f85cc71f53 (plain)
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
# Maintainer:
# Contributor: Caleb Maclennan <caleb@alerque.com>
# Contributor: twa022 <twa022 at gmail dot com>

pkgname=libpri
pkgver=1.6.1
pkgrel=2
pkgdesc='library that encapsulates the protocols used to communicate over ISDN Primary Rate Interfaces'
arch=(x86_64 i686)
url="https://github.com/asterisk/$pkgname"
license=(GPL-2.0-only)
depends=(dahdi-linux)
_archive="$pkgname-$pkgver"
source=("$url/archive/$pkgver/$_archive.tar.gz")
sha256sums=('c38ea1b5a90a6a7a38d57fcb58f47f14d865468acf9e2e1ef0dc76e257755c7a')

build() {
	cd "$_archive"
	make
}

package() {
	cd "$_archive"
	make DESTDIR="$pkgdir" install
}