diff options
author | A. Wilcox <awilcox@wilcox-tech.com> | 2019-01-04 01:59:46 +0000 |
---|---|---|
committer | A. Wilcox <awilcox@wilcox-tech.com> | 2019-01-04 01:59:46 +0000 |
commit | 47eb11a9aacf4aba353760f712e9c96b6ca7c690 (patch) | |
tree | 9cef8b7727e96302d64d6bdf1676646be4cb1615 | |
parent | 8174972ecddc82807e0f06531be9c1386ecf2c8b (diff) | |
parent | 72ac572abbe2d4a74e386c95b687da0f8a59cdd0 (diff) | |
download | packages-47eb11a9aacf4aba353760f712e9c96b6ca7c690.tar.gz packages-47eb11a9aacf4aba353760f712e9c96b6ca7c690.tar.bz2 packages-47eb11a9aacf4aba353760f712e9c96b6ca7c690.tar.xz packages-47eb11a9aacf4aba353760f712e9c96b6ca7c690.zip |
Merge branch 'compton' into 'master'
user/compton: new package
See merge request !134
-rw-r--r-- | user/compton/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/user/compton/APKBUILD b/user/compton/APKBUILD new file mode 100644 index 000000000..338f123de --- /dev/null +++ b/user/compton/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +pkgname=compton +pkgver=4 +pkgrel=0 +pkgdesc="Lightweight compositor for X11" +url="https://github.com/yshui/compton" +arch="all" +options="!check" # no tests +license="MIT AND MPL-2.0" +makedepends="meson libx11-dev libxext-dev libev-dev xcb-util-renderutil-dev + xcb-util-image-dev pixman-dev libconfig-dev pcre-dev mesa-dev + dbus-dev" +source="compton-$pkgver.tar.gz::https://github.com/yshui/compton/archive/v$pkgver.tar.gz" + +build() { + cd "$builddir" + meson \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --buildtype=release \ + . output + ninja -C output +} + +package() { + cd "$builddir" + DESTDIR="$pkgdir" ninja -C output install +} + +sha512sums="ba585df25792519b8093a5a91d62ca2d3b02dd9df41d787dc4007cee5c8aef7cd0a3c267b58d21026c97b7859f7c5376384dffb7da728a99ccc4122a2ae43679 compton-4.tar.gz" |