blob: 1d6eb9de4f733cc0749824d273b3e30bfcb8aa64 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=unagi
pkgver=0.3.3
pkgrel=0
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"
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
find "$pkgdir"/usr -name '*.la' -delete
}
md5sums="4a1bc93d23cbbafc87aa0c7f956a585c unagi-0.3.3.tar.gz"
|