2020-08-03 05:28:26 +08:00
|
|
|
# Maintainer: koraynilay <koray.fra@gmail.com>
|
|
|
|
_gitfolder="picom"
|
|
|
|
pkgname=picom-jonaburg-git
|
|
|
|
pkgver=0.1
|
2020-10-01 03:31:33 +08:00
|
|
|
pkgrel=3
|
2020-08-03 05:28:26 +08:00
|
|
|
pkgdesc="jonaburg's picom fork with tryone144's dual_kawase blur and ibhagwan's rounded corners, an X compositor (compton's fork)"
|
|
|
|
arch=(i686 x86_64)
|
|
|
|
url="https://github.com/jonaburg/picom"
|
|
|
|
license=('MIT' 'MPL2')
|
|
|
|
depends=('libconfig' 'libev' 'libxdg-basedir' 'pcre' 'pixman' 'xcb-util-image' 'xcb-util-renderutil' 'hicolor-icon-theme' 'libglvnd' 'libx11' 'libxcb' 'libxext' 'libdbus')
|
|
|
|
makedepends=('git' 'meson' 'ninja' 'gcc' 'asciidoc' 'uthash')
|
|
|
|
optdepends=('dbus: To control picom via D-Bus'
|
|
|
|
'xorg-xwininfo: For picom-trans'
|
|
|
|
'xorg-xprop: For picom-trans'
|
|
|
|
'python: For picom-convgen.py')
|
|
|
|
provides=('compton' 'compton-git' 'picom' 'picom-git')
|
|
|
|
conflicts=('compton' 'compton-git' 'picom' 'picom-git')
|
|
|
|
source=("${_gitfolder}::git+https://github.com/jonaburg/picom.git")
|
|
|
|
md5sums=("SKIP")
|
|
|
|
build() {
|
|
|
|
cd "${srcdir}/${_gitfolder}"
|
|
|
|
meson --buildtype=release . build --prefix=/usr -Dwith_docs=true
|
|
|
|
ninja -C build
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2020-10-01 03:31:33 +08:00
|
|
|
# this is adapted from tryone144's fork PKGBUILD
|
2020-08-03 05:28:26 +08:00
|
|
|
cd "${srcdir}/${_gitfolder}"
|
|
|
|
DESTDIR="$pkgdir/" ninja -C build install
|
|
|
|
|
|
|
|
# install license
|
|
|
|
install -D -m644 "LICENSES/MIT" "${pkgdir}/usr/share/licenses/${pkgname/-git$/}/LICENSE-MIT"
|
|
|
|
|
|
|
|
# example conf
|
|
|
|
install -D -m644 "picom.sample.conf" "${pkgdir}/etc/xdg/picom.conf.example"
|
|
|
|
}
|