diff options
author | Shohei Maruyama | 2023-05-05 21:07:21 +0900 |
---|---|---|
committer | Shohei Maruyama | 2023-05-05 22:12:46 +0900 |
commit | 81927014a1bc090d1214a6ef8d1b5511bb3f4eb7 (patch) | |
tree | c266b2fa54dda036b063abec47eca48ba19adcc8 | |
parent | 1ce35653c2bf3e3405c626b8c18aa9d3e1d97218 (diff) | |
download | aur-81927014a1bc090d1214a6ef8d1b5511bb3f4eb7.tar.gz |
PKGBUILD: Check the checksum of source
This commit changes the source from git to tarball to check its checksum.
Signed-off-by: Shohei Maruyama <cheat.sc.linux@outlook.com>
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 8 insertions, 8 deletions
@@ -1,7 +1,7 @@ pkgbase = ttf-plemoljp pkgdesc = Plex Mono Language JP pkgver = 1.5.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/yuru7/PlemolJP arch = any license = custom:OFL @@ -9,7 +9,7 @@ pkgbase = ttf-plemoljp makedepends = python-fonttools makedepends = ttfautohint provides = ttf-font - source = git+https://github.com/yuru7/PlemolJP.git#tag=v1.5.0 - sha256sums = SKIP + source = ttf-plemoljp-1.5.0.tar.gz::https://github.com/yuru7/PlemolJP/archive/refs/tags/v1.5.0.tar.gz + sha256sums = 1810f93fa7d15938af2cbd59dc2c0ba68b2992a40703a4ac0e6300227f098233 pkgname = ttf-plemoljp @@ -2,23 +2,23 @@ pkgname=ttf-plemoljp pkgver=1.5.0 -pkgrel=1 +pkgrel=2 pkgdesc='Plex Mono Language JP' arch=('any') url='https://github.com/yuru7/PlemolJP' license=('custom:OFL') provides=('ttf-font') makedepends=('fontforge' 'python-fonttools' 'ttfautohint') -source=("git+https://github.com/yuru7/PlemolJP.git#tag=v${pkgver}") -sha256sums=('SKIP') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/yuru7/PlemolJP/archive/refs/tags/v${pkgver}.tar.gz") +sha256sums=('1810f93fa7d15938af2cbd59dc2c0ba68b2992a40703a4ac0e6300227f098233') build() { - cd PlemolJP + cd "PlemolJP-${pkgver}" ./make.sh } package() { - cd PlemolJP + cd "PlemolJP-${pkgver}" find build -type f -name '*.ttf' -exec install -Dm644 {} -t "${pkgdir}/usr/share/fonts/PlemolJP" \; install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" } |