summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Perez de Castro2015-07-14 18:21:02 +0300
committerAdrian Perez de Castro2015-07-14 18:21:38 +0300
commitfa2c4b821bb7752b357a781fcd090db606bf917a (patch)
tree9c090218243680285977475cc82709abc7bc3ea7
parent23ba9df517ffaa69f5f7f9a407a21fe4762f86c2 (diff)
downloadaur-fa2c4b821bb7752b357a781fcd090db606bf917a.tar.gz
Turn Git-based PKGBUILD into a release-based one
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD23
2 files changed, 15 insertions, 20 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e770e9cc8c1..eafdd18bfc7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
-pkgbase = reop-git
- pkgdesc = Utility to create and verifies cryptographic signatures
- pkgver = 138.81dc1b4
+pkgbase = reop
+ pkgdesc = Utility to create and verify cryptographic signatures
+ pkgver = 2.1.0
pkgrel = 1
url = https://github.com/tedu/reop/
arch = arm
@@ -9,8 +9,8 @@ pkgbase = reop-git
license = MIT
depends = libsodium
options = zipman
- source = git+https://github.com/tedu/reop.git
- md5sums = SKIP
+ source = https://github.com/tedu/reop/releases/download/2.1.0/reop-2.1.0.tgz
+ sha512sums = 074302f7805711983864ece8aed1136458e7028ffd51edb2bb0352589b9e4d17ec5f530ad01b9a057afe57a351ecfb9d23d146a531aba6eb13dd51cf41fd9fcc
-pkgname = reop-git
+pkgname = reop
diff --git a/PKGBUILD b/PKGBUILD
index be695f45934..89491f16708 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,36 +1,31 @@
# Maintainer: Adrián Pérez de Castro <aperez@igalia.com>
# Contributor: Malina Salina <bluesilence@hotmail.co.uk>
-pkgname='reop-git'
-pkgrel=1
-pkgver=138.81dc1b4
-pkgdesc='Utility to create and verifies cryptographic signatures'
+pkgname='reop'
+pkgver='2.1.0'
+pkgrel='1'
+pkgdesc='Utility to create and verify cryptographic signatures'
url='https://github.com/tedu/reop/'
license=('MIT')
arch=('arm' 'i686' 'x86_64')
depends=('libsodium')
options=('zipman')
-source=('git+https://github.com/tedu/reop.git')
-md5sums=('SKIP')
+source=("https://github.com/tedu/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tgz")
+sha512sums=('074302f7805711983864ece8aed1136458e7028ffd51edb2bb0352589b9e4d17ec5f530ad01b9a057afe57a351ecfb9d23d146a531aba6eb13dd51cf41fd9fcc')
-pkgver () {
- cd "${srcdir}/reop"
- printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
-}
build () {
- cd "${srcdir}/reop"
- sh ./configure
+ cd "${pkgname}-${pkgver}"
make
}
check () {
- cd "${srcdir}/reop/tests"
+ cd "${pkgname}-${pkgver}/tests"
chmod +x test.sh
./test.sh
}
package () {
- cd "${srcdir}/reop"
+ cd "${pkgname}-${pkgver}"
install -Dm755 reop "${pkgdir}/usr/bin/reop"
install -Dm644 reop.1 "${pkgdir}/usr/share/man/man1/reop.1"
install -Dm644 README "${pkgdir}/usr/share/doc/${pkgname}/README"