summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorx1b6e62020-09-04 11:06:26 +0700
committerx1b6e62020-09-04 11:06:26 +0700
commit05d2e26d0ab563a744747c792de98e634541f474 (patch)
treecc8b90de569571720872c395a15f53af3789ce17 /PKGBUILD
parent71cb6c86388105de15f76a9051d95cc947c34f7c (diff)
downloadaur-aes.tar.gz
Update parsing version
Signed-off-by: x1b6e6 <ftdabcde@gmail.com>
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 0be16e93024..c66dbf7f989 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,24 +5,24 @@ pkgver=0.2.0
pkgrel=1
pkgdesc="encryption utility with very simple interface"
arch=('any')
-url="https://github.com/x1b6e6/aes.git"
+url="https://github.com/x1b6e6/aes"
license=("MIT")
depends=("libgcrypt" "docopt")
makedepends=("gcc" "make" "cmake")
-source=("git+${url}")
+source=("${pkgname}-${pkgver}.zip::${url}/archive/${pkgver}.zip")
-sha1sums=("SKIP")
+sha1sums=("2c2bb9f14f3a9e1cbc02ff13c061aa101ddd78ef")
build(){
- cd $srcdir/aes
+ cd $srcdir/${pkgname}-${pkgver}
cmake -Bbuild -G "Unix Makefiles"
cmake --build build --target all
}
package() {
cd "$srcdir"
- install -Dm755 "$srcdir/aes/build/aes" "$pkgdir/usr/bin/aes"
+ install -Dm755 "$srcdir/${pkgname}-${pkgver}/build/aes" "$pkgdir/usr/bin/aes"
}
# vim: set ts=4 sw=4 :