summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authororhun2020-09-16 22:09:18 +0300
committerorhun2020-09-16 22:09:18 +0300
commit25cf1f76ab3d3137d386b98dd36e1974ec46f0c8 (patch)
tree82b9976558180a72ac437528933eb9402af91edc
downloadaur-25cf1f76ab3d3137d386b98dd36e1974ec46f0c8.tar.gz
Initial upload: frankenwm 1.0.22-1
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD33
-rw-r--r--frankenwm.install3
3 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..bc6f7b37dd8
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = frankenwm
+ pkgdesc = Fast dynamic tiling window manager based on monsterwm-xcb
+ pkgver = 1.0.22
+ pkgrel = 1
+ url = https://github.com/sulami/FrankenWM
+ install = frankenwm.install
+ arch = i686
+ arch = x86_64
+ license = custom:MIT/X
+ depends = libx11
+ depends = xcb-util
+ depends = xcb-util-wm
+ depends = xcb-util-keysyms
+ conflicts = frankenwm-git
+ source = frankenwm-1.0.22.tar.gz::https://github.com/sulami/FrankenWM/archive/v1.0.22.tar.gz
+ sha512sums = bea5cbc94b34f3d55c7b9721906b7599fe3e8cfb93ce5f4727fc2f699db716eaa419865d611e4a68e9a63916b2c3a41196653d660b8672149e085d4c51d1cf83
+
+pkgname = frankenwm
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..2055825f11e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: orhun <orhunparmaksiz@gmail.com>
+# https://github.com/orhun/pkgbuilds
+
+pkgname=frankenwm
+_gitname="FrankenWM"
+pkgver=1.0.22
+pkgrel=1
+pkgdesc="Fast dynamic tiling window manager based on monsterwm-xcb"
+url="https://github.com/sulami/FrankenWM"
+arch=('i686' 'x86_64')
+license=('custom:MIT/X')
+depends=('libx11' 'xcb-util' 'xcb-util-wm' 'xcb-util-keysyms')
+conflicts=("$pkgname-git")
+install=frankenwm.install
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('bea5cbc94b34f3d55c7b9721906b7599fe3e8cfb93ce5f4727fc2f699db716eaa419865d611e4a68e9a63916b2c3a41196653d660b8672149e085d4c51d1cf83')
+
+prepare() {
+ cd "$_gitname-$pkgver"
+ mv config.def.h config.h
+}
+
+build() {
+ cd "$_gitname-$pkgver"
+ make
+}
+
+package() {
+ cd "$_gitname-$pkgver"
+ make PREFIX=/usr DESTDIR="$pkgdir" install
+ install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
+ install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
+}
diff --git a/frankenwm.install b/frankenwm.install
new file mode 100644
index 00000000000..ab3c1949cd5
--- /dev/null
+++ b/frankenwm.install
@@ -0,0 +1,3 @@
+post_install() {
+ echo "==> Edit config.h in FrankenWM's PKGBUILD directory and rebuild the package for custom configuration."
+}