diff options
author | Paolo Stivanin | 2017-04-23 18:33:23 +0200 |
---|---|---|
committer | Paolo Stivanin | 2017-04-23 18:33:23 +0200 |
commit | 8f5832761a5f95b1e5dbca472ed0cb1361a7a21b (patch) | |
tree | 7293ae3f256545ce6a81ba5e9d3b244740244a56 | |
download | aur-8f5832761a5f95b1e5dbca472ed0cb1361a7a21b.tar.gz |
v1.0.1
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..8d841ebf77e9 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = libbaseencode + pkgdesc = C library that generates TOTP and HOTP + pkgver = 1.0.1 + pkgrel = 1 + url = https://github.com/paolostivanin/libbaseencode + arch = i686 + arch = x86_64 + license = GPL3 + makedepends = cmake + options = !strip + source = https://github.com/paolostivanin/libbaseencode/archive/v1.0.1.tar.gz + sha256sums = 82202c73ed11f7957712d9bca0dd694431ddc999909b15e81c54fda40af6a5e7 + +pkgname = libbaseencode + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..952c0a2ac2da --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Paolo Stivanin <info A,T paolostivanin D,O,T com> + +pkgname=libbaseencode +pkgver=1.0.1 +pkgrel=1 +pkgdesc='C library that generates TOTP and HOTP' +arch=('i686' 'x86_64') +makedepends=('cmake') +url="https://github.com/paolostivanin/libbaseencode" +options=('!strip') +license=('GPL3') + +source=("https://github.com/paolostivanin/$pkgname/archive/v$pkgver.tar.gz") + +sha256sums=("82202c73ed11f7957712d9bca0dd694431ddc999909b15e81c54fda40af6a5e7") + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + mkdir build && cd $_ + cmake ../ -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}/build" + make DESTDIR="$pkgdir" install +} |