summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9b86ff3988391fa7f2f3eb8b23d0968d227af10d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Maintainer: aksr <aksr at t-com dot me>
pkgname=wordgrinder-git
pkgver=0.7.1.r13.ge81cb70
pkgrel=1
epoch=
pkgdesc="A word processor which gets the hell out of your way and lets you get some work done."
arch=('i686' 'x86_64')
url="https://github.com/davidgiven/wordgrinder"
url="http://cowlark.com/wordgrinder"
license=('MIT')
categories=()
groups=()
depends=('')
makedepends=('git' 'ninja')
optdepends=()
checkdepends=()
provides=("${pkgname%-*}")
conflicts=("${pkgname%-*}")
replaces=()
backup=()
options=()
changelog=
install=
source=("$pkgname::git+https://github.com/davidgiven/wordgrinder.git")
noextract=()
md5sums=('SKIP')

pkgver() {
  cd "$srcdir/$pkgname"
  git describe --tags | sed -E 's/([^-]*-g)/r\1/;s/-/./g'
}

package() {
  cd "$srcdir/$pkgname"
  make DESTDIR="$pkgdir" PREFIX="/usr" install
  install -Dm644 licenses/COPYING.WordGrinder $pkgdir/usr/share/licenses/${pkgname%-*}/COPYING
}