diff options
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | PKGBUILD | 10 |
3 files changed, 9 insertions, 8 deletions
@@ -2,7 +2,7 @@ pkgbase = aes pkgdesc = encryption utility with very simple interface pkgver = 0.2.0 pkgrel = 1 - url = https://github.com/x1b6e6/aes.git + url = https://github.com/x1b6e6/aes arch = any license = MIT makedepends = gcc @@ -10,8 +10,8 @@ pkgbase = aes makedepends = cmake depends = libgcrypt depends = docopt - source = git+https://github.com/x1b6e6/aes.git - sha1sums = SKIP + source = aes-0.2.0.zip::https://github.com/x1b6e6/aes/archive/0.2.0.zip + sha1sums = 2c2bb9f14f3a9e1cbc02ff13c061aa101ddd78ef pkgname = aes diff --git a/.gitignore b/.gitignore index fe84d14c7648..c3bfe475f2e7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ build .vscode *.aes +*.zip src pkg *.pkg.tar.xz @@ -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 : |