diff options
author | Christian Krause | 2018-09-18 16:56:36 +0200 |
---|---|---|
committer | Christian Krause | 2018-09-18 16:56:36 +0200 |
commit | 53dc46e03daf6594da1b2d85d26b46c534195019 (patch) | |
tree | 34ba9060a9367e232ad6c5a93c9769501f00bbc9 | |
download | aur-53dc46e03daf6594da1b2d85d26b46c534195019.tar.gz |
stor-age-0.1.0-1
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d59937e6b1c3 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = stor-age + pkgdesc = show aging of directories + pkgver = 0.1.0 + pkgrel = 1 + url = https://github.com/idiv-biodiversity/stor-age + arch = x86_64 + arch = i686 + license = GPL + makedepends = cargo + depends = gcc-libs + source = stor-age-0.1.0.tar.gz::https://github.com/idiv-biodiversity/stor-age/archive/v0.1.0.tar.gz + md5sums = d798029635703529d916496355c2237d + +pkgname = stor-age + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..3abac39155ec --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Christian Krause ("wookietreiber") <christian.krause@mailbox.org> +# shellcheck disable=2034 +# shellcheck disable=2148 + +pkgname=stor-age +pkgver=0.1.0 +pkgrel=1 +pkgdesc="show aging of directories" +arch=('x86_64' 'i686') +url="https://github.com/idiv-biodiversity/$pkgname" +license=('GPL') +depends=('gcc-libs') +makedepends=('cargo') +source=("$pkgname-$pkgver.tar.gz::https://github.com/idiv-biodiversity/$pkgname/archive/v$pkgver.tar.gz") +md5sums=('d798029635703529d916496355c2237d') + +build() { + # shellcheck disable=2154 + cd "$srcdir"/$pkgname-$pkgver || exit 1 + + cargo build --release +} + +package() { + cd "$srcdir"/$pkgname-$pkgver || exit 1 + + # shellcheck disable=2154 + install -Dm755 "target/release/$pkgname" "$pkgdir/usr/bin/$pkgname" +} |