diff options
author | Chih-Hsuan Yen | 2018-12-06 01:33:04 +0800 |
---|---|---|
committer | Chih-Hsuan Yen | 2018-12-06 01:33:04 +0800 |
commit | 23c34b0082de103c3f3426918bfeb946eb590b42 (patch) | |
tree | 09622e2d69f04f7677a852a992bfeded541757ba | |
download | aur-23c34b0082de103c3f3426918bfeb946eb590b42.tar.gz |
new package, for pfixtools
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 24 | ||||
-rw-r--r-- | lilac.yaml | 11 |
3 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..dd928ba77472 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = libsrs2 + pkgdesc = The next generation SRS library + pkgver = 1.0.18 + pkgrel = 1 + url = https://www.libsrs2.org/ + arch = i686 + arch = x86_64 + license = GPL2 + license = BSD + depends = glibc + source = https://www.libsrs2.org/srs/libsrs2-1.0.18.tar.gz + sha512sums = b9c189caa227487e90566f65430345f09a3d545fc286a3eb0c445aee3a74905c1a9248ce78b36a7cfb6a2936f6cd1efbe99ba7b8df49a613a81c6435396f5422 + +pkgname = libsrs2 + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..38d08dba4c0f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Chih-Hsuan Yen <yan12125@archlinux.org> + +pkgname=libsrs2 +pkgver=1.0.18 +pkgrel=1 +pkgdesc='The next generation SRS library' +arch=('i686' 'x86_64') +url='https://www.libsrs2.org/' +license=(GPL2 BSD) +depends=(glibc) +source=("https://www.libsrs2.org/srs/libsrs2-$pkgver.tar.gz") +sha512sums=('b9c189caa227487e90566f65430345f09a3d545fc286a3eb0c445aee3a74905c1a9248ce78b36a7cfb6a2936f6cd1efbe99ba7b8df49a613a81c6435396f5422') + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install + install -Dm644 LICENSE.GPL-2 LICENSE.BSD -t "$pkgdir"/usr/share/licenses/$pkgname +} diff --git a/lilac.yaml b/lilac.yaml new file mode 100644 index 000000000000..5ea64a8d6443 --- /dev/null +++ b/lilac.yaml @@ -0,0 +1,11 @@ +maintainers: + - github: yan12125 + +build_prefix: extra-x86_64 + +pre_build: aur_pre_build + +post_build: aur_post_build + +update_on: + - aur |