summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Gregoratto2019-02-06 10:59:49 +1100
committerStephen Gregoratto2019-02-06 10:59:49 +1100
commit4b638dd14fd6a831c267dd0f45df88e2a4d87d99 (patch)
treedb4367b90117339ba53f87772d91afc145dd2153
parent3306e3f7b82dbdb7509b08697519d0fe07064806 (diff)
downloadaur-4b638dd14fd6a831c267dd0f45df88e2a4d87d99.tar.gz
Update to 1.2.2, change license
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD27
2 files changed, 19 insertions, 20 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9ff87b4e3d6..e027fd8e989 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,20 @@
pkgbase = libcotp
pkgdesc = C library that generates TOTP and HOTP
- pkgver = 1.2.1
+ pkgver = 1.2.2
pkgrel = 1
url = https://github.com/paolostivanin/libcotp
arch = i686
arch = x86_64
- license = GPL3
+ arch = armv6h
+ arch = armv7h
+ license = APACHE
makedepends = cmake
depends = libbaseencode
options = !strip
- source = https://github.com/paolostivanin/libcotp/archive/v1.2.1.tar.gz
- source = https://github.com/paolostivanin/libcotp/releases/download/v1.2.1/v1.2.1.tar.gz.asc
+ source = https://github.com/paolostivanin/libcotp/archive/v1.2.2.tar.gz
+ source = https://github.com/paolostivanin/libcotp/releases/download/v1.2.2/v1.2.2.tar.gz.asc
validpgpkeys = 060C6B7D3869F148C4C4ACD43C9BE9B64EC1EA64
- sha256sums = 52ea9d876d8465aad666bdb38a59d85f183a0e8d2aa14b14d07e4e6bc471648e
+ sha256sums = 25b45ffa4aece5cc689503ebea7356a2f760c194f0c41805934495d2fe7165b1
sha256sums = SKIP
pkgname = libcotp
diff --git a/PKGBUILD b/PKGBUILD
index adb95d8bc8a..2250259aa3c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,28 +1,25 @@
-# Maintainer: Paolo Stivanin <info A,T paolostivanin D,O,T com>
-
+# Maintainer: Paolo Stivanin <info at paolostivanin dot com>
+# Maintainer: KingofToasters <themanhimself at sgregoratto dot me>
pkgname=libcotp
-pkgver=1.2.1
+pkgver=1.2.2
pkgrel=1
pkgdesc='C library that generates TOTP and HOTP'
-arch=('i686' 'x86_64')
+url="https://github.com/paolostivanin/libcotp"
+license=('APACHE')
+arch=('i686' 'x86_64' 'armv6h' 'armv7h')
depends=('libbaseencode')
makedepends=('cmake')
-url="https://github.com/paolostivanin/libcotp"
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=("52ea9d876d8465aad666bdb38a59d85f183a0e8d2aa14b14d07e4e6bc471648e"
- "SKIP")
+sha256sums=('25b45ffa4aece5cc689503ebea7356a2f760c194f0c41805934495d2fe7165b1'
+ '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
}