diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..4ed3a62 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: lucy <lucy@luz.lu> + +pkgname=bdf-tewi-git +_gitname=tewi-font +pkgver=0.197.90e0dfa +pkgrel=1 +pkgdesc='Bitmap font' +arch=('any') +url="https://github.com/lucy/tewi-font" +license=('custom:GPL3') +depends=('xorg-fonts-encodings' 'xorg-font-utils') +makedepends=('git') +install="$pkgname.install" +source=('git+https://github.com/lucy/tewi-font.git') +sha256sums=('SKIP') + +pkgver() { + cd "$srcdir/$_gitname" + echo "0.$(git rev-list --count HEAD).$(git describe --always)" +} + +package() { + cd "$srcdir/$_gitname" + install -T -Dm644 "COPYING" "$pkgdir/usr/share/licenses/$pkgname/COPYING" + install -d -m755 "$pkgdir/usr/share/fonts/misc/" + install -m644 -t "$pkgdir/usr/share/fonts/misc/" \ + "tewi-bold-11.bdf" "tewi-normal-11.bdf" \ + "tewi2a-bold-11.bdf" "tewi2a-normal-11.bdf" \ + "tewifw-bold-11.bdf" "tewifw-normal-11.bdf" +} |