makefontpkg-git/PKGBUILD

25 lines
656 B
Text
Raw Normal View History

2015-06-25 04:45:57 +09:00
# Maintainer: danb <danielbusch1992@googlemail.com>
pkgname=makefontpkg
_pkgname="${pkgname}"
pkgver=r28.3fed100
2015-06-25 04:45:57 +09:00
pkgrel=1
pkgdesc="Tool for creating packages from TrueType and OpenType fonts"
arch=(x86_64 i686)
2015-06-25 04:45:57 +09:00
url='http://github.com/misterdanb/makefontpkg'
license=(GPL3)
2019-04-12 23:05:01 +09:00
depends=(python3 pacman-contrib)
makedepends=(git)
# options=('!strip' '!emptydirs')
source=("${_pkgname}::git+https://github.com/misterdanb/makefontpkg.git")
2015-06-25 04:45:57 +09:00
md5sums=('SKIP')
pkgver() {
cd "${_pkgname}" || exit 1
printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
2015-06-25 04:45:57 +09:00
package() {
install -Dm755 "${_pkgname}/$pkgname" "$pkgdir/usr/bin/$pkgname"
2015-06-25 04:45:57 +09:00
}