summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 20c21bfaee28ca728c73416f5fd0ba3e8ee23a89 (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
# Maintainer: Wouter Haffmans <wouter@simply-life.net>
pkgname=locale-en-nl-git
pkgver=r24.f98339c
pkgrel=1
pkgdesc="English language locale for the Netherlands (en_NL)"
arch=('any')
url="https://github.com/PanderMusubi/locale-en-nl"
license=('unknown')
groups=()
depends=(glibc)
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
source=("$pkgname"::git+https://github.com/PanderMusubi/locale-en-nl.git#branch=master)
noextract=()
md5sums=('SKIP')
install=locale-en-nl-git.install

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

package() {
  cd "$pkgname"
  mkdir -p $pkgdir/usr/share/i18n/locales/
  install -m 0644 en_NL $pkgdir/usr/share/i18n/locales/en_NL
}