Update pass to 1.7

Add libqrencode package which is a new optional dependency of pass.
This commit is contained in:
micbou committed 2017-03-03 01:52:13 +01:00
1 parent 4f284a0254
commit 7153a4c71e
2 files changed
+38 -6

No files matched your search

+31
View File
@@ -0,0 +1,31 @@
# Maintainer: micbou <contact@micbou.com>
pkgname=libqrencode-git
pkgver=v3.4.3.r238.ge3410bf
pkgrel=1
pkgdesc='QR Code encoding library'
arch=('i686' 'x86_64')
url='http://fukuchi.org/works/qrencode/'
license=('LGPL')
makedepends=('git' 'gcc')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=(git+https://github.com/fukuchi/libqrencode)
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/${pkgname%-git}"
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "${srcdir}/${pkgname%-git}"
./autogen.sh
./configure
make LDFLAGS="${LDFLAGS} -no-undefined"
}
package() {
cd "${srcdir}/${pkgname%-git}"
make install
}