summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD29
2 files changed, 17 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6103913a8e1..42f739e3459 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,13 @@
pkgbase = libbaseencode
pkgdesc = Library written in C for encoding and decoding data using base32 or base64 (RFC-4648)
pkgver = 1.0.9
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/paolostivanin/libbaseencode
arch = i686
arch = x86_64
- license = GPL3
+ arch = armv6h
+ arch = armv7h
+ license = APACHE
makedepends = cmake
options = !strip
source = https://github.com/paolostivanin/libbaseencode/archive/v1.0.9.tar.gz
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
}