diff options
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 11 insertions, 8 deletions
@@ -1,16 +1,16 @@ pkgbase = hr-zig pkgdesc = hr in zig - pkgver = 1.0.0 + pkgver = 1.0.1 pkgrel = 1 url = https://github.com/djmattyg007/hr-zig arch = i686 arch = x86_64 license = custom:Public Domain makedepends = zig + depends = glibc provides = hr conflicts = hr - source = https://github.com/djmattyg007/hr-zig/archive/1.0.0.tar.gz - sha512sums = 6574abeb70b855ddb5c8002ffaf7340efc1b029d2998fcfb08faddd455efd5594355762253ad14fb1f64a3db569afe42175df43bd99a710fb447bd0d4371ca63 + source = https://github.com/djmattyg007/hr-zig/archive/1.0.1.tar.gz + sha512sums = 11c7e89584b7e45ec75ad08121d7542a1c7a743052c3333c4c4b31fedb11a50f1aa6a62f997aca74ea1b22211673786ba87581f9d67d8876590339491e55ae2e pkgname = hr-zig - @@ -1,25 +1,28 @@ # Maintainer: Matthew Gamble <git@matthewgamble.net> pkgname=hr-zig -pkgver=1.0.0 +pkgver=1.0.1 pkgrel=1 pkgdesc="hr in zig" -arch=('i686' 'x86_64') +arch=("i686" "x86_64") url="https://github.com/djmattyg007/hr-zig" license=('custom:Public Domain') -source=("https://github.com/djmattyg007/hr-zig/archive/${pkgver}.tar.gz") -sha512sums=("6574abeb70b855ddb5c8002ffaf7340efc1b029d2998fcfb08faddd455efd5594355762253ad14fb1f64a3db569afe42175df43bd99a710fb447bd0d4371ca63") +depends=("glibc") makedepends=("zig") conflicts=("hr") provides=("hr") +source=("https://github.com/djmattyg007/hr-zig/archive/${pkgver}.tar.gz") +sha512sums=("11c7e89584b7e45ec75ad08121d7542a1c7a743052c3333c4c4b31fedb11a50f1aa6a62f997aca74ea1b22211673786ba87581f9d67d8876590339491e55ae2e") build() { cd "${srcdir}/hr-zig-${pkgver}" + zig build install -Drelease-small } package() { cd "${srcdir}/hr-zig-${pkgver}" + zig build install -Drelease-small --prefix "${pkgdir}/usr" install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/hr-zig/LICENSE.txt" } |