summarylogtreecommitdiffstats
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
downloadaur-b6cbaded0c9bec27b8361802557bac9b40ddbf70.tar.gz
Initial release of package
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD22
2 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..7c4c19a2ebb
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = minifortune
+ pkgdesc = A minimal fortune-mod clone
+ pkgver = 2.5
+ pkgrel = 1
+ url = https://github.com/vsergeev/minifortune
+ arch = i686
+ arch = x86_64
+ arch = armv7h
+ license = MIT
+ depends = glibc
+ source = git+https://github.com/vsergeev/minifortune.git#tag=v2.5
+ md5sums = SKIP
+
+pkgname = minifortune
+
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"
+}