summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Ndjeutcha2021-04-20 18:08:17 -0400
committerBryan Ndjeutcha2021-04-20 18:08:17 -0400
commitbdb0049bc8080b49a5d0f9bbeed98e4936ab4c6d (patch)
tree01564e8fc418b3327b31d79940c1b27f7428373d
downloadaur-bdb0049bc8080b49a5d0f9bbeed98e4936ab4c6d.tar.gz
Infinity and beyond
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD34
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..5652d80cf84
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = kile-wl
+ pkgdesc = A tiling layout generator for river
+ pkgver = r103.d219e50
+ pkgrel = 1
+ url = https://gitlab.com/snakedye/kile
+ arch = x86_64
+ license = MIT
+ makedepends = git
+ makedepends = rust
+ provides = kile-wl
+ conflicts = kile-wl
+ source = kile-wl::git+https://gitlab.com/snakedye/kile.git
+ md5sums = SKIP
+
+pkgname = kile-wl
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..1a76d896d6f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Bryan Ndjeutcha <ndjeutcha@gmail.com>
+pkgname=kile-wl
+pkgver=r104.b10ba7d
+pkgrel=1
+pkgdesc="A tiling layout generator for river"
+arch=('x86_64')
+url="https://gitlab.com/snakedye/kile"
+license=('MIT')
+makedepends=('git' 'rust')
+provides=("kile-wl")
+conflicts=("kile-wl")
+source=("$pkgname::git+https://gitlab.com/snakedye/kile.git")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$pkgname"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "$pkgname"
+ cargo build --release
+ cd doc
+ scdoc < kile.1.scd > kile.1.gz
+}
+
+package() {
+ mkdir -p "$pkgdir/usr/bin"
+ mkdir -p "$pkgdir/usr/share/man/man1"
+ cd "$pkgname"
+ install -Dm755 target/release/kile "$pkgdir/usr/bin/"
+ install -Dm644 doc/*.1.gz "$pkgdir/usr/share/man/man1/"
+}
+