From 34c863b728f3829b43bd77324900fe5b5c6f1b8b Mon Sep 17 00:00:00 2001 From: qwjyh Date: Sat, 11 Nov 2023 08:35:33 +0900 Subject: [PATCH] renamed package with '-git' --- .SRCINFO | 5 +++-- PKGBUILD | 10 ++++++---- 2 files changed, 9 insertions(+), 6 deletions(-) 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" }