summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorVanya A. Sergeev2016-10-05 23:03:40 -0700
committerVanya A. Sergeev2016-10-05 23:03:40 -0700
commitb6cbaded0c9bec27b8361802557bac9b40ddbf70 (patch)
tree43a8db112bc49d8238c221d8f5d7541d29597e69 /PKGBUILD
downloadaur-b6cbaded0c9bec27b8361802557bac9b40ddbf70.tar.gz
Initial release of package
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD22
1 files changed, 22 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ba4b9a13516
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,22 @@
+# Maintainer: Vanya A. Sergeev <v@sergeev.io>
+pkgname=minifortune
+pkgver=2.5
+pkgrel=1
+pkgdesc="A minimal fortune-mod clone"
+arch=('i686' 'x86_64' 'armv7h')
+url="https://github.com/vsergeev/minifortune"
+license=('MIT')
+depends=('glibc')
+source=("git+https://github.com/vsergeev/minifortune.git#tag=v$pkgver")
+md5sums=('SKIP')
+
+build() {
+ cd "$pkgname"
+ make PREFIX="/usr"
+}
+
+package() {
+ cd "$pkgname"
+ make PREFIX="/usr" DESTDIR="$pkgdir/" install
+ install -D -m 0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}