summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
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"
+}