summaryrefslogtreecommitdiff
path: root/pcr/lua-cyrussasl/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/lua-cyrussasl/PKGBUILD')
-rw-r--r--pcr/lua-cyrussasl/PKGBUILD39
1 files changed, 19 insertions, 20 deletions
diff --git a/pcr/lua-cyrussasl/PKGBUILD b/pcr/lua-cyrussasl/PKGBUILD
index 30bed3f25..a837ae2e1 100644
--- a/pcr/lua-cyrussasl/PKGBUILD
+++ b/pcr/lua-cyrussasl/PKGBUILD
@@ -1,33 +1,32 @@
# Maintainer (Arch): Dwayne Bent <dbb.1@liqd.org>
+# parabola changes and rationale:
+# - upstream pkgbuild is gone, but we keep maintaining this.
+
pkgname=lua-cyrussasl
-pkgver=1.0.0
-pkgrel=3
+pkgver=1.1.0
+pkgrel=1
pkgdesc="Lua bindings for Cyrus SASL library."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'armv7h')
url="http://github.com/JorjBauer/lua-cyrussasl"
license=('BSD')
-makedepends=('lua51' 'libsasl')
-source=(
- "lua-cyrussasl-$pkgver.tar.gz::https://github.com/JorjBauer/lua-cyrussasl/tarball/v$pkgver"
- "lua-cyrussasl.patch"
-)
-md5sums=('40c94c06441e1e47640d81b125742969'
- 'bdb7b8413f9b7d9598b7c8b820427751')
+makedepends=('lua' 'libsasl')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/JorjBauer/$pkgname/archive/v$pkgver.tar.gz"
+ "$pkgname.patch")
+md5sums=('4466154ebdd18cf6f35951a46f53be78'
+ '60387c1abeb59133712dd16be87d402d')
build() {
- cd $srcdir/*-lua-cyrussasl-*
- patch -Np1 -i ${srcdir}/lua-cyrussasl.patch
- make
+ cd $srcdir/$pkgname-$pkgver
+ patch -Np1 -i ../$pkgname.patch
+ make
}
package() {
- mkdir -p "$pkgdir/usr/lib/lua/5.1"
- mkdir -p "$pkgdir/usr/share/licenses/lua-cyrussasl"
-
- cd $srcdir/*-lua-cyrussasl-*
-
- make DESTDIR=${pkgdir} install
- install -m644 "LICENSE" "$pkgdir/usr/share/licenses/lua-cyrussasl/LICENSE"
+ cd $srcdir/$pkgname-$pkgver
+
+ mkdir -p "$pkgdir/usr/lib/lua/5.1"
+ make DESTDIR=${pkgdir} install
+ install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}