summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoraksr2017-09-28 09:04:27 +0200
committeraksr2017-09-28 09:04:33 +0200
commit16fc21944b1063fccad9bfba0c20b27ba64e94b3 (patch)
tree165aef7cb25a47c5f4f3f576520a469afd97be70
parentf32f3b6143f7e1994bfad0990385f14b474c26d7 (diff)
downloadaur-16fc21944b1063fccad9bfba0c20b27ba64e94b3.tar.gz
Fix build (!).
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD11
2 files changed, 6 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fb2413d852cf..14b2cb00fe51 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,15 @@
# Generated by mksrcinfo v8
-# Thu Aug 11 07:30:45 UTC 2016
+# Thu Sep 28 07:03:04 UTC 2017
pkgbase = wordgrinder-git
pkgdesc = A word processor which gets the hell out of your way and lets you get some work done.
- pkgver = 0.6.r7.g0e2b004
+ pkgver = 0.6.r78.g5c8f43b
pkgrel = 1
url = http://cowlark.com/wordgrinder
arch = i686
arch = x86_64
license = MIT
makedepends = git
+ makedepends = ninja
provides = wordgrinder
conflicts = wordgrinder
source = wordgrinder-git::git+https://github.com/davidgiven/wordgrinder.git
diff --git a/PKGBUILD b/PKGBUILD
index 3c3acc8924c6..a6e0467ab9e9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: aksr <aksr at t-com dot me>
pkgname=wordgrinder-git
-pkgver=0.6.r7.g0e2b004
+pkgver=0.6.r78.g5c8f43b
pkgrel=1
epoch=
pkgdesc="A word processor which gets the hell out of your way and lets you get some work done."
@@ -11,7 +11,7 @@ license=('MIT')
categories=()
groups=()
depends=('')
-makedepends=('git')
+makedepends=('git' 'ninja')
optdepends=()
checkdepends=()
provides=("${pkgname%-*}")
@@ -30,14 +30,9 @@ pkgver() {
git describe --tags | sed -E 's/([^-]*-g)/r\1/;s/-/./g'
}
-build() {
- cd "$srcdir/$pkgname"
- make
-}
-
package() {
cd "$srcdir/$pkgname"
- make PREFIX="$pkgdir/usr" install
+ make DESTDIR="$pkgdir" PREFIX="/usr" install
install -Dm644 COPYING $pkgdir/usr/share/licenses/${pkgname%-*}/COPYING
}