summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorVirtualTam2015-07-13 03:38:24 +0200
committerVirtualTam2015-07-13 03:38:24 +0200
commit7ae9bdaa5506e333f8d0c3499a8ed09e3b9a6e78 (patch)
tree96a760a80633735dd9806411da7ccb4ff6429157 /PKGBUILD
downloadaur-7ae9bdaa5506e333f8d0c3499a8ed09e3b9a6e78.tar.gz
Initial import of metalfairytale-git
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..715cf789e7e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: VirtualTam <virtualtam@flibidi.net>
+pkgname=fortune-mod-metalfairytale-git
+pkgver=1e53c54
+pkgrel=2
+pkgdesc="A fairy tale whose hero belongs to one of the many Metal (sub-)genres, served in the marvelous form of fortune cookies!"
+url="https://github.com/virtualtam/fortune-metal-fairy-tale"
+arch=('i686' 'x86_64')
+license=('custom:WTFPL')
+depends=(fortune-mod)
+makedepends=(git)
+_gitname="fortune-metal-fairy-tale"
+source=(git://github.com/virtualtam/fortune-metal-fairy-tale.git)
+sha256sums=(SKIP)
+
+pkgver() {
+ cd ${srcdir}/${_gitname}
+ git describe --always | sed 's|-|.|g'
+}
+
+build() {
+ cd ${srcdir}/${_gitname}
+ # Edit if you wish to change how strings are indexed
+ # man strfile for more information
+ strfile -r metal-fairy-tale-fr
+}
+
+package(){
+ mkdir -p ${pkgdir}/usr/share/fortune
+ cp ${srcdir}/${_gitname}/metal-fairy-tale ${pkgdir}/usr/share/fortune
+ cp ${srcdir}/${_gitname}/metal-fairy-tale.dat ${pkgdir}/usr/share/fortune
+}