diff --git a/.SRCINFO b/.SRCINFO index 77cd539..94e6872 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,4 +1,4 @@ -pkgbase = makefontpkg +pkgbase = makefontpkg-git pkgdesc = Tool for creating packages from TrueType and OpenType fonts pkgver = r28.3fed100 pkgrel = 1 @@ -9,7 +9,8 @@ pkgbase = makefontpkg makedepends = git depends = python3 depends = pacman-contrib + replaces = makefontpkg source = makefontpkg::git+https://github.com/misterdanb/makefontpkg.git md5sums = SKIP -pkgname = makefontpkg +pkgname = makefontpkg-git diff --git a/PKGBUILD b/PKGBUILD index 03a32b8..7626b51 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,8 @@ -# Maintainer: danb +# Maintainer: qwjyh +# Contributor: danb -pkgname=makefontpkg -_pkgname="${pkgname}" +pkgname=makefontpkg-git +_pkgname="${pkgname%-git}" pkgver=r28.3fed100 pkgrel=1 pkgdesc="Tool for creating packages from TrueType and OpenType fonts" @@ -10,6 +11,7 @@ url='http://github.com/misterdanb/makefontpkg' license=(GPL3) depends=(python3 pacman-contrib) makedepends=(git) +replaces=('makefontpkg') # options=('!strip' '!emptydirs') source=("${_pkgname}::git+https://github.com/misterdanb/makefontpkg.git") md5sums=('SKIP') @@ -20,5 +22,5 @@ pkgver() { } package() { - install -Dm755 "${_pkgname}/$pkgname" "$pkgdir/usr/bin/$pkgname" + install -Dm755 "${_pkgname}/$_pkgname" "$pkgdir/usr/bin/$_pkgname" }