summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD29
1 files changed, 13 insertions, 16 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 740795d99df..c40e5af4a84 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,31 +1,28 @@
-# Maintainer: Paolo Stivanin <info [at] paolostivanin [DOT] com>
-
+# Maintainer: Paolo Stivanin <info at paolostivanin dot com>
+# Maintainer: KingofToasters <themanhimself at sgregoratto dot me>
pkgname=libbaseencode
pkgver=1.0.9
-pkgrel=1
+pkgrel=2
pkgdesc='Library written in C for encoding and decoding data using base32 or base64 (RFC-4648)'
-arch=('i686' 'x86_64')
-makedepends=('cmake')
url="https://github.com/paolostivanin/libbaseencode"
+license=('APACHE')
+arch=('i686' 'x86_64' 'armv6h' 'armv7h')
+makedepends=('cmake')
options=('!strip')
-license=('GPL3')
-
+validpgpkeys=('060C6B7D3869F148C4C4ACD43C9BE9B64EC1EA64')
source=("$url/archive/v$pkgver.tar.gz"
"$url/releases/download/v$pkgver/v$pkgver.tar.gz.asc")
-
-validpgpkeys=('060C6B7D3869F148C4C4ACD43C9BE9B64EC1EA64')
-
-sha256sums=("a183d7cf30d931b2a078d6f0ef64616b71ab26f9258e5f4e191778c7ace7175d"
- "SKIP")
+sha256sums=('a183d7cf30d931b2a078d6f0ef64616b71ab26f9258e5f4e191778c7ace7175d'
+ 'SKIP')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- mkdir build && cd $_
- cmake ../ -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib
+ cd "${pkgname}-${pkgver}"
+ mkdir build && cd build
+ cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib
make
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}/build"
+ cd "${pkgname}-${pkgver}/build"
make DESTDIR="$pkgdir" install
}