summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée2015-06-12 14:22:15 +0200
committerMattias Andrée2015-06-12 14:22:15 +0200
commit997714b4b287919bce27f908881fc4c2034ee0ff (patch)
treeee4f3c437d576757bd1fcad732fafca2ae48103c
downloadaur-997714b4b287919bce27f908881fc4c2034ee0ff.tar.gz
Initial import, version 1.4-2
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD28
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..0c69fd47b62
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = wikiquote-fortune
+ pkgdesc = Generate fortune cookies from Wikiquote
+ pkgver = 1.4
+ pkgrel = 2
+ url = https://github.com/maandree/wikiquote-fortune
+ arch = any
+ license = GPL3
+ makedepends = coreutils
+ depends = python
+ depends = wget
+ source = https://github.com/maandree/wikiquote-fortune/archive/1.4.tar.gz
+ sha256sums = d4aec7f278c3ceff6effc19cdb31472dab7efc26de90d7d7e62f9009fb2aa382
+
+pkgname = wikiquote-fortune
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..38335e7d842
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
+
+pkgname=wikiquote-fortune
+pkgver=1.4
+pkgrel=2
+pkgdesc="Generate fortune cookies from Wikiquote"
+arch=('any')
+url="https://github.com/maandree/wikiquote-fortune"
+license=('GPL3')
+depends=('python' 'wget')
+makedepends=('coreutils')
+source=(https://github.com/maandree/wikiquote-fortune/archive/${pkgver}.tar.gz)
+sha256sums=(d4aec7f278c3ceff6effc19cdb31472dab7efc26de90d7d7e62f9009fb2aa382)
+
+
+package() {
+ cd "${srcdir}/wikiquote-fortune-${pkgver}"
+
+ mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -m644 LICENSE COPYING "${pkgdir}/usr/share/licenses/${pkgname}"
+
+ mkdir -p "${pkgdir}/usr/share/doc"
+ install -m644 README "${pkgdir}/usr/share/doc/${pkgname}"
+
+ mkdir -p "${pkgdir}/usr/bin"
+ install -m755 wikiquote-fortune "${pkgdir}/usr/bin"
+}
+