Update pass to 1.7
Add libqrencode package which is a new optional dependency of pass.
This commit is contained in:
31
libqrencode-git/PKGBUILD
Executable file
31
libqrencode-git/PKGBUILD
Executable 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
|
||||
}
|
||||
Reference in New Issue
Block a user