summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée2015-07-08 18:17:19 +0200
committerMattias Andrée2015-07-08 18:17:19 +0200
commit60381a843e0a008ca3337f46f71ef0bc387f8208 (patch)
tree8138445a3b9ee10a1f24c5e28fcbc2057fd39245
downloadaur-60381a843e0a008ca3337f46f71ef0bc387f8208.tar.gz
Initial import, version 1505221559
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD28
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..bb93e70c126
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = fortune-mod-mynameisearl
+ pkgdesc = Fortune quotes from My Name is Earl
+ pkgver = 1505221559
+ pkgrel = 1
+ url = http://en.wikiquote.org/wiki/My_Name_is_Earl
+ arch = any
+ license = custom:cc-sa-3.0
+ makedepends = fortune-mod
+ makedepends = make
+ makedepends = coreutils
+ makedepends = sed
+ makedepends = grep
+ makedepends = wikiquote-fortune>=1.4
+ depends = fortune-mod
+ source = https://github.com/maandree/wikiquote-fortune-collection/archive/5.tar.gz
+ sha256sums = f25b0e335782fc59bf960e5f09c16ebd0bd38cb9cb174f0338c6ba5f8d3013b5
+
+pkgname = fortune-mod-mynameisearl
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..2f7e8d8caae
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+pkgname=fortune-mod-mynameisearl
+pkgver=1505221559
+pkgrel=1
+_ver=5
+pkgdesc="Fortune quotes from My Name is Earl"
+arch=('any')
+license=('custom:cc-sa-3.0')
+url=("http://en.wikiquote.org/wiki/My_Name_is_Earl")
+depends=('fortune-mod')
+makedepends=('fortune-mod' 'make' 'coreutils' 'sed' 'grep' 'wikiquote-fortune>=1.4')
+source=("https://github.com/maandree/wikiquote-fortune-collection/archive/${_ver}.tar.gz")
+sha256sums=(f25b0e335782fc59bf960e5f09c16ebd0bd38cb9cb174f0338c6ba5f8d3013b5)
+
+
+build()
+{
+ cd "${srcdir}/wikiquote-fortune-collection-${_ver}"
+ make SHOWS=mynameisearl SCRIPTS=
+}
+
+package()
+{
+ cd "${srcdir}/wikiquote-fortune-collection-${_ver}"
+ cd quotes/mynameisearl
+ install -dm755 -- "${pkgdir}/usr/share/fortune"
+ install -m644 -- mynameisearl mynameisearl.dat "${pkgdir}/usr/share/fortune"
+}
+