summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD26
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c0e46c24e3b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = aurs
+ pkgdesc = An AUR helper written in Rust
+ pkgver = 0.1.0
+ pkgrel = 1
+ url = https://gitlab.com/hpdeifel/aurs
+ arch = x86_64
+ license = GPL3
+ makedepends = cargo
+ makedepends = clang
+ depends = sudo
+ depends = ranger
+ depends = git
+ depends = pacman
+ source = aurs-0.1.0.tar.gz::https://gitlab.com/hpdeifel/aurs/repository/v0.1.0/archive.tar.gz
+ sha256sums = 9d82f95295bc73d91e420186e115fb6231ebde8550116e3ea7c487e941745fe8
+
+pkgname = aurs
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..dd1da22734f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Hans-Peter Deifel <hpd@hpdeifel.de>
+pkgname=aurs
+pkgver=0.1.0
+pkgrel=1
+pkgdesc="An AUR helper written in Rust"
+arch=('x86_64')
+url="https://gitlab.com/hpdeifel/aurs"
+license=('GPL3')
+depends=('sudo' 'ranger' 'git' 'pacman')
+makedepends=('cargo' 'clang')
+source=("$pkgname-$pkgver.tar.gz::https://gitlab.com/hpdeifel/$pkgname/repository/v$pkgver/archive.tar.gz")
+sha256sums=('9d82f95295bc73d91e420186e115fb6231ebde8550116e3ea7c487e941745fe8')
+
+build() {
+ cd "$srcdir/$pkgname-v$pkgver-"*
+
+ cargo build --release
+}
+
+package() {
+ cd "$srcdir/$pkgname-v$pkgver-"*
+
+ install -D "target/release/aurs" -t "$pkgdir/usr/bin/"
+}
+
+# vim:set ts=2 sw=2 et: