fix (replace git protocol from git to https)

This commit is contained in:
qwjyh 2023-11-04 20:30:11 +09:00
parent 36b54f6aa8
commit c3082b9c57
2 changed files with 15 additions and 12 deletions

View file

@ -1,18 +1,15 @@
pkgbase = makefontpkg pkgbase = makefontpkg
pkgdesc = Tool for creating packages from TrueType and OpenType fonts pkgdesc = Tool for creating packages from TrueType and OpenType fonts
pkgver = 20200526 pkgver = r28.3fed100
pkgrel = 1 pkgrel = 1
url = http://github.com/misterdanb/makefontpkg url = http://github.com/misterdanb/makefontpkg
arch = x86_64 arch = x86_64
arch = i686 arch = i686
license = Beerware license = GPL3
makedepends = git makedepends = git
depends = python3 depends = python3
depends = pacman-contrib depends = pacman-contrib
options = !strip source = makefontpkg::git+https://github.com/misterdanb/makefontpkg.git
options = !emptydirs
source = makefontpkg::git://github.com/misterdanb/makefontpkg.git
md5sums = SKIP md5sums = SKIP
pkgname = makefontpkg pkgname = makefontpkg

View file

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