summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8a483b8d32948a483487fc000ab4e8f40ce3f5c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Maintainer: x1b6e6 <ftdabcde@gmail.com>

pkgname=aes
pkgver=0.2.0
pkgrel=1
pkgdesc="encryption utility with very simple interface"
arch=('any')
url="https://github.com/x1b6e6/aes.git"
license=("MIT")
depends=("libgcrypt" "docopt")
makedepends=("gcc" "make" "cmake")

source=(
	"CMakeLists.txt"
	"aes.cc"
)

sha1sums=(
	"a14bc448b2c43536dffc1e6d63ea257dd6fa33ea"
	"d0734f8497ecc33ba3e406c873eb33b71d8dce8b"
)

build(){
	cd $srcdir
	cmake -Bbuild -G "Unix Makefiles"
	cmake --build build --target all
}

package() {
	cd "$srcdir"
	install -Dm755 "$srcdir/build/aes" "$pkgdir/usr/bin/aes"
}

# vim: set ts=4 sw=4 :