From 180c42b0d36742c55da41e08276a5618e2e44de0 Mon Sep 17 00:00:00 2001 From: Leo Date: Tue, 19 Nov 2019 09:12:53 +0100 Subject: community/picom: rename from compton --- community/picom/APKBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 community/picom/APKBUILD (limited to 'community/picom') diff --git a/community/picom/APKBUILD b/community/picom/APKBUILD new file mode 100644 index 0000000000..ecaaaea7a0 --- /dev/null +++ b/community/picom/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Francesco Colista +# Maintainer: Francesco Colista +pkgname=compton +pkgver=7.4 +pkgrel=0 +pkgdesc="X Compositor (a fork of xcompmgr-dana)" +url="https://github.com/yshui/compton" +arch="all" +license="MIT MPL-2.0" +makedepends="libx11-dev libxcomposite-dev libxinerama-dev libxdamage-dev \ + libconfig-dev pcre-dev libxrandr-dev dbus-dev libdrm-dev mesa-dev meson \ + libev-dev libxdg-basedir-dev pixman-dev xcb-util-renderutil-dev \ + xcb-util-image-dev asciidoc uthash-dev" +subpackages="$pkgname-doc" +source="compton-$pkgver.tar.gz::https://github.com/yshui/compton/archive/v$pkgver.tar.gz" +options="!check" # No tests defined in tests/ directory + +build() { + meson --prefix=/usr --buildtype=release -Dwith_docs=true build + ninja -v -C build +} + +package() { + DESTDIR="$pkgdir" ninja -C build install + + mkdir -p "$pkgdir/usr/share/doc/compton" + install -m644 README* "$pkgdir/usr/share/doc/compton/" + install -D -m644 "compton.sample.conf" "$pkgdir/etc/xdg/compton.conf.example" +} + +sha512sums="03dbe0a54cfea2594133daca76e2f0f908383ee74cdcc8e94d17d5cd0943abf86c58452876b422da081f3c3226545ad3553561d37c138e903c0fe76865c2f43a compton-7.4.tar.gz" -- cgit v1.2.3