2023-11-11 08:35:33 +09:00
|
|
|
# Maintainer: qwjyh <urataw421 at gmail dot com>
|
|
|
|
# Contributor: danb <danielbusch1992@googlemail.com>
|
2015-06-25 04:45:57 +09:00
|
|
|
|
2023-11-11 08:35:33 +09:00
|
|
|
pkgname=makefontpkg-git
|
|
|
|
_pkgname="${pkgname%-git}"
|
2023-11-04 20:30:11 +09:00
|
|
|
pkgver=r28.3fed100
|
2015-06-25 04:45:57 +09:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="Tool for creating packages from TrueType and OpenType fonts"
|
2016-03-21 02:36:13 +09:00
|
|
|
arch=(x86_64 i686)
|
2015-06-25 04:45:57 +09:00
|
|
|
url='http://github.com/misterdanb/makefontpkg'
|
2023-11-04 20:30:11 +09:00
|
|
|
license=(GPL3)
|
2019-04-12 23:05:01 +09:00
|
|
|
depends=(python3 pacman-contrib)
|
2016-03-21 02:36:13 +09:00
|
|
|
makedepends=(git)
|
2023-11-11 08:35:33 +09:00
|
|
|
replaces=('makefontpkg')
|
2023-11-04 20:30:11 +09:00
|
|
|
# options=('!strip' '!emptydirs')
|
|
|
|
source=("${_pkgname}::git+https://github.com/misterdanb/makefontpkg.git")
|
2015-06-25 04:45:57 +09:00
|
|
|
md5sums=('SKIP')
|
|
|
|
|
2023-11-04 20:30:11 +09:00
|
|
|
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() {
|
2023-11-11 08:35:33 +09:00
|
|
|
install -Dm755 "${_pkgname}/$_pkgname" "$pkgdir/usr/bin/$_pkgname"
|
2015-06-25 04:45:57 +09:00
|
|
|
}
|