summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b1ed355862d609cf2fb94529cab34b2937d4e0b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Bart de Waal <bart@abnormail.org>
pkgname=words-nl
pkgver=r1.03ca894
pkgrel=1
pkgdesc="A wordlist of dutch words for /usr/share/dict/."
arch=('any')
url="https://github.com/OpenTaal/opentaal-wordlist"
license=(CCPL:by-sa)
makedepends=(git)
source=("git+https://github.com/OpenTaal/opentaal-wordlist.git#branch=master")
md5sums=('SKIP')

pkgver() {
  cd "$srcdir"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
    cd "$srcdir"
    install -Dm644 opentaal-wordlist/wordlist.txt "$pkgdir/usr/share/dict/dutch"
}