summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKnut Ahlers2018-11-09 21:09:33 +0100
committerKnut Ahlers2018-11-09 21:09:33 +0100
commit34a5490028b772eae9ddc57325861151dcdb7080 (patch)
tree231c8030227a2ec416ed1d6d0c7786c7c37c9d8e
downloadaur-34a5490028b772eae9ddc57325861151dcdb7080.tar.gz
dust v0.3.1
Signed-off-by: Knut Ahlers <knut@ahlers.me>
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD25
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b37e50b1723
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = dust
+ pkgdesc = du + rust = dust. Like du but more intuitive
+ pkgver = 0.3.1
+ pkgrel = 1
+ url = https://github.com/bootandy/dust
+ arch = i686
+ arch = x86_64
+ license = AGPL3
+ makedepends = cargo
+ source = dust-0.3.1.tar.gz::https://github.com/bootandy/dust/archive/v0.3.1.tar.gz
+ sha512sums = abac2aa78deefa16f991d8f4ba91e7d717fb1d8559d5f030d962c7c967e19501a4b78c1d19d43cbe4b4aa3429102dab891076375084196abd55844b2c0bf6dfb
+
+pkgname = dust
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..0cdcb449da1
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Knut Ahlers <knut at ahlers dot me>
+
+pkgname=dust
+pkgver=0.3.1
+pkgrel=1
+pkgdesc="du + rust = dust. Like du but more intuitive"
+url="https://github.com/bootandy/dust"
+makedepends=('cargo')
+arch=('i686' 'x86_64')
+license=('AGPL3')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/bootandy/$pkgname/archive/v$pkgver.tar.gz")
+sha512sums=('abac2aa78deefa16f991d8f4ba91e7d717fb1d8559d5f030d962c7c967e19501a4b78c1d19d43cbe4b4aa3429102dab891076375084196abd55844b2c0bf6dfb')
+
+build() {
+ cd "$pkgname-$pkgver"
+ cargo build --release
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ install -Dm755 "target/release/$pkgname" "$pkgdir/usr/bin/$pkgname"
+ install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim:set ts=2 sw=2 et: