summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée2015-11-30 13:54:00 +0100
committerMattias Andrée2015-11-30 13:54:00 +0100
commit258440f40e54878a2c1eef21e8830265f10993ae (patch)
tree97abf13a9ba8f1a7235abe5911c96030d70060f5
parent997714b4b287919bce27f908881fc4c2034ee0ff (diff)
downloadaur-wikiquote-fortune.tar.gz
Update to 1.5
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD24
2 files changed, 17 insertions, 17 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0c69fd47b62..1c25b874360 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,17 @@
pkgbase = wikiquote-fortune
pkgdesc = Generate fortune cookies from Wikiquote
- pkgver = 1.4
- pkgrel = 2
+ pkgver = 1.5
+ pkgrel = 1
url = https://github.com/maandree/wikiquote-fortune
arch = any
license = GPL3
makedepends = coreutils
+ makedepends = make
+ makedepends = texinfo
depends = python
depends = wget
- source = https://github.com/maandree/wikiquote-fortune/archive/1.4.tar.gz
- sha256sums = d4aec7f278c3ceff6effc19cdb31472dab7efc26de90d7d7e62f9009fb2aa382
+ source = https://github.com/maandree/wikiquote-fortune/archive/1.5.tar.gz
+ sha256sums = 8bff426c4c1e5bb2a4254c87bdd74e037ba8944124fc540d94a3174bf626e8f6
pkgname = wikiquote-fortune
diff --git a/PKGBUILD b/PKGBUILD
index 38335e7d842..a2d5cd43b27 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,28 +1,26 @@
# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
pkgname=wikiquote-fortune
-pkgver=1.4
-pkgrel=2
+pkgver=1.5
+pkgrel=1
pkgdesc="Generate fortune cookies from Wikiquote"
arch=('any')
url="https://github.com/maandree/wikiquote-fortune"
license=('GPL3')
depends=('python' 'wget')
-makedepends=('coreutils')
+makedepends=('coreutils' 'make' 'texinfo')
source=(https://github.com/maandree/wikiquote-fortune/archive/${pkgver}.tar.gz)
-sha256sums=(d4aec7f278c3ceff6effc19cdb31472dab7efc26de90d7d7e62f9009fb2aa382)
+sha256sums=(8bff426c4c1e5bb2a4254c87bdd74e037ba8944124fc540d94a3174bf626e8f6)
+
+
+build() {
+ cd "${srcdir}/wikiquote-fortune-${pkgver}"
+ make
+}
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"
+ make install DESTDIR="${pkgdir}"
}