aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/unagi/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/unagi/APKBUILD')
-rw-r--r--unmaintained/unagi/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/unmaintained/unagi/APKBUILD b/unmaintained/unagi/APKBUILD
new file mode 100644
index 0000000000..9da0cbd2c8
--- /dev/null
+++ b/unmaintained/unagi/APKBUILD
@@ -0,0 +1,41 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=unagi
+pkgver=0.3.3
+pkgrel=1
+pkgdesc="A modular compositing manager"
+url="https://projects.mini-dweeb.org/projects/unagi"
+arch="all"
+license="GPLv3"
+depends=""
+depends_dev="libxdg-basedir-dev libxcb-dev confuse-dev xcb-util-wm-dev
+ xcb-util-keysyms-dev xcb-util-renderutil-dev xcb-util-image-dev
+ libev-dev"
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-dev"
+source="https://projects.mini-dweeb.org/attachments/download/111/unagi-$pkgver.tar.gz"
+
+_builddir="$srcdir"/unagi-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ || return 1
+ make || return
+}
+
+package() {
+ cd "$_builddir"
+ make install DESTDIR="$pkgdir" || return 1
+}
+
+md5sums="4a1bc93d23cbbafc87aa0c7f956a585c unagi-0.3.3.tar.gz"