summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Czigler2020-11-21 22:31:28 +0000
committerMichael Czigler2020-11-21 22:31:28 +0000
commitdb318b68746a87d5759b3e5baa93d9524f164609 (patch)
treefc17d45a3e0f3179d96df53d023b71a2c8567118
downloadaur-db318b68746a87d5759b3e5baa93d9524f164609.tar.gz
xwm: new package at 0.1.1
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD23
2 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..ed2404fb211
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = xwm
+ pkgdesc = A tiny XCB floating window manager
+ pkgver = 0.1.1
+ pkgrel = 1
+ url = http://github.com/mcpcpc/xwm
+ arch = x686
+ arch = x86_64
+ license = MIT
+ depends = xcb-util-keysyms
+ source = http://github.com/mcpcpc/xwm/archive/0.1.1.tar.gz
+ md5sums = SKIP
+
+pkgname = xwm
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..5ba6fa4c5e8
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Michael Czigler <info at mcpcpc dot com>
+
+pkgname=xwm
+pkgver=0.1.1
+pkgrel=1
+pkgdesc="A tiny XCB floating window manager"
+url="http://github.com/mcpcpc/xwm"
+arch=('x686' 'x86_64')
+license=('MIT')
+depends=(xcb-util-keysyms)
+source=("$url/archive/$pkgver.tar.gz")
+md5sums=('SKIP')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make PREFIX=/usr DESTDIR="$pkgdir" install
+ install -TDm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}