diff options
author | balaraz | 2023-11-23 21:14:10 +0200 |
---|---|---|
committer | balaraz | 2023-11-23 21:14:10 +0200 |
commit | 8f9f4770fb9e357fb0e3cb986690886df8ec25b8 (patch) | |
tree | c560a4f07df928561cfb84aad63005f400e013d6 | |
download | aur-8f9f4770fb9e357fb0e3cb986690886df8ec25b8.tar.gz |
Base package configuration. First release
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 19 |
2 files changed, 32 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ec7a8f42500a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = sizeof-go + pkgdesc = Simple and fast calculate size of directories + pkgver = 1.0 + pkgrel = 1 + arch = any + makedepends = go + provides = sizeof + conflicts = sizeof + conflicts = sizeof-pypy + source = https://codeberg.org/balaraz/sizeof/archive/v1.0.tar.gz + sha256sums = 4dae89ded56b37bc8aeeac52c34e7f70469e12bd70d651b9511a65886856bfc8 + +pkgname = sizeof-go diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d553c110559b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,19 @@ +# Maintainer: balaraz <balaraz@tuta.io> + +pkgname=sizeof-go +pkgver=1.0 +pkgrel=1 +pkgdesc="Simple and fast calculate size of directories" +arch=(any) +depends=() +makedepends=(go) +provides=(sizeof) +conflicts=(sizeof sizeof-pypy) +source=("https://codeberg.org/balaraz/sizeof/archive/v1.0.tar.gz") +sha256sums=("4dae89ded56b37bc8aeeac52c34e7f70469e12bd70d651b9511a65886856bfc8") + +package() { + cd $srcdir/sizeof + go build --ldflags="-s -w" sizeof.go + install -Dm775 sizeof -t ${pkgdir}/usr/bin/ +} |