diff options
author | Ting-Wei Lan <lantw44@gmail.com> | 2021-03-02 00:44:59 +0800 |
---|---|---|
committer | Ting-Wei Lan <lantw44@gmail.com> | 2021-03-02 00:44:59 +0800 |
commit | 3ee1563d03a4617eb8fa9a1a0b9688267f973e08 (patch) | |
tree | 4d71664d436d2a062994e9a6540a0720cdf1fc24 | |
parent | 195121d6859da01cb10d0585ff3780fa33a6e104 (diff) | |
download | AUR4-PKGBUILD-3ee1563d03a4617eb8fa9a1a0b9688267f973e08.tar.gz AUR4-PKGBUILD-3ee1563d03a4617eb8fa9a1a0b9688267f973e08.tar.zst AUR4-PKGBUILD-3ee1563d03a4617eb8fa9a1a0b9688267f973e08.zip |
guile-avahi: 0.4 (initial commit)
It is pulled in by Guix 1.2.0.
-rw-r--r-- | guile-avahi/.SRCINFO | 17 | ||||
-rw-r--r-- | guile-avahi/PKGBUILD | 32 |
2 files changed, 49 insertions, 0 deletions
diff --git a/guile-avahi/.SRCINFO b/guile-avahi/.SRCINFO new file mode 100644 index 0000000..dcf766f --- /dev/null +++ b/guile-avahi/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = guile-avahi + pkgdesc = Avahi bindings for GNU Guile + pkgver = 0.4 + pkgrel = 1 + url = https://www.nongnu.org/guile-avahi + arch = x86_64 + arch = i686 + arch = armv7h + license = LGPL3 + depends = guile + depends = avahi + depends = gmp + source = https://download.savannah.nongnu.org/releases/guile-avahi/guile-avahi-0.4.tar.gz + sha256sums = 9dcc2810058cc87d8fa81a1fa8eb7a3892b2cc0a8786fb16fe88d260aa0ba669 + +pkgname = guile-avahi + diff --git a/guile-avahi/PKGBUILD b/guile-avahi/PKGBUILD new file mode 100644 index 0000000..e6341c4 --- /dev/null +++ b/guile-avahi/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: lantw44 (at) gmail (dot) com + +pkgname=guile-avahi +pkgver=0.4 +pkgrel=1 +pkgdesc='Avahi bindings for GNU Guile' +arch=('x86_64' 'i686' 'armv7h') +url='https://www.nongnu.org/guile-avahi' +license=('LGPL3') +depends=('guile' 'avahi' 'gmp') +source=("https://download.savannah.nongnu.org/releases/$pkgname/$pkgname-$pkgver.tar.gz") +sha256sums=('9dcc2810058cc87d8fa81a1fa8eb7a3892b2cc0a8786fb16fe88d260aa0ba669') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + # Regenerate configure to allow using Guile < 3. + autoreconf -fi + ./configure --prefix=/usr \ + --with-guilemoduledir=/usr/share/guile/site/2.2 \ + --disable-rpath + make +} + +check(){ + cd "${srcdir}/${pkgname}-${pkgver}" + make check +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="$pkgdir" install +} |