diff options
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | .nvchecker.toml | 4 | ||||
-rw-r--r-- | PKGBUILD | 26 |
3 files changed, 24 insertions, 21 deletions
@@ -1,16 +1,13 @@ -# Generated by mksrcinfo v8 -# Mon Sep 4 15:46:50 UTC 2017 pkgbase = libpri pkgdesc = library that encapsulates the protocols used to communicate over ISDN Primary Rate Interfaces - pkgver = 1.6.0 + pkgver = 1.6.1 pkgrel = 1 - url = http://www.asterisk.org/ - arch = i686 + url = https://github.com/asterisk/libpri arch = x86_64 - license = GPL + arch = i686 + license = GPL-2.0-only depends = dahdi - source = https://downloads.asterisk.org/pub/telephony/libpri/libpri-1.6.0.tar.gz - sha256sums = 7225ea7ec334a115f9dc08e71f55589c38cb4e00b13964cd2f08cc4e6123e3f6 + source = https://github.com/asterisk/libpri/archive/1.6.1/libpri-1.6.1.tar.gz + sha256sums = c38ea1b5a90a6a7a38d57fcb58f47f14d865468acf9e2e1ef0dc76e257755c7a pkgname = libpri - diff --git a/.nvchecker.toml b/.nvchecker.toml new file mode 100644 index 000000000000..2d35d11717d6 --- /dev/null +++ b/.nvchecker.toml @@ -0,0 +1,4 @@ +[libpri] +source = "github" +github = "asterisk/libpri" +use_max_tag = true @@ -1,22 +1,24 @@ -# Maintainer: twa022 <twa022 at gmail dot com> +# Maintainer: Caleb Maclennan <caleb@alerque.com> +# Contributor: twa022 <twa022 at gmail dot com> pkgname=libpri -pkgver=1.6.0 +pkgver=1.6.1 pkgrel=1 pkgdesc='library that encapsulates the protocols used to communicate over ISDN Primary Rate Interfaces' -arch=('i686' 'x86_64') -url='http://www.asterisk.org/' -license=('GPL') -depends=('dahdi') -source=("https://downloads.asterisk.org/pub/telephony/${pkgname}/${pkgname}-${pkgver}.tar.gz") -sha256sums=('7225ea7ec334a115f9dc08e71f55589c38cb4e00b13964cd2f08cc4e6123e3f6') +arch=(x86_64 i686) +url="https://github.com/asterisk/$pkgname" +license=(GPL-2.0-only) +depends=(dahdi) +_archive="$pkgname-$pkgver" +source=("$url/archive/$pkgver/$_archive.tar.gz") +sha256sums=('c38ea1b5a90a6a7a38d57fcb58f47f14d865468acf9e2e1ef0dc76e257755c7a') build() { - cd "${srcdir}/${pkgname}-${pkgver}" - make + cd "$_archive" + make } package() { - cd "${srcdir}/${pkgname}-${pkgver}" - make DESTDIR="${pkgdir}" install + cd "$_archive" + make DESTDIR="$pkgdir" install } |