Created
May 27, 2018 03:21
-
-
Save raku-cat/684f1adf5026104547d21295431b3518 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Raku <[email protected]> | |
# Original compton-git PKGBUILD and aur package maintained by WorMzy Tykashi <[email protected]> | |
# Based of compton-blackcapcoder-git PKGBUILD by VerruckteFuchs <[email protected]> | |
pkgname=glendale-develop-gl3.2 | |
_gitname=compton | |
pkgver=0.1_beta2.166.g057a194 | |
pkgrel=1 | |
pkgdesc="Compton fork by DelusionalLogic, renamed to glendale so they can coexist for the time being." | |
arch=(i686 x86_64) | |
url="https://github.com/DelusionalLogic/compton" | |
license=('MIT') | |
depends=('libgl' 'libdbus' 'libxcomposite' 'libxdamage' 'libxrandr' 'pcre' 'libconfig' 'libxinerama' 'hicolor-icon-theme' 'judy') | |
makedepends=('git' 'asciidoc' 'mesa') | |
optdepends=('dbus: To control compton via D-Bus' | |
'xorg-xwininfo: For compton-trans' | |
'xorg-xprop: For compton-trans') | |
provides=('glendale') | |
source=("git+https://github.com/DelusionalLogic/compton.git#branch=develop-gl3.2") | |
md5sums=("SKIP") | |
pkgver() { | |
cd "${srcdir}/${_gitname}" | |
git describe --tags | sed -e 's:v::' -e 's/-/./g' | |
} | |
build() { | |
cd "$srcdir/$_gitname" | |
make NO_XSYNC=true NO_DBUS=true PREFIX=/usr | |
make docs | |
} | |
package() { | |
cd "$srcdir/$_gitname" | |
# make NO_XSYNC=true NO_DBUS=true PREFIX="$pkgdir/usr" install | |
install -D -m755 "compton" "$pkgdir/usr/bin/glendale" | |
install -D -m644 "bin/compton-trans" "$pkgdir/usr/bin/glendale-trans" | |
install -D -m644 "media/compton.svg" "$pkgdir/usr/share/icons/hicolor/scalable/apps/glendale.svg" | |
install -D -m644 "media/icons/48x48/compton.png" "$pkgdir/usr/share/icons/hicolor/scalable/48x48/apps/glendale.png" | |
install -D -m644 "compton.desktop" "$pkgdir/usr/share/applications/glendale.desktop" | |
# install license | |
install -D -m644 "LICENSE" "$pkgdir/usr/share/licenses/glendale/LICENSE" | |
# example conf | |
# install -D -m644 "compton.sample.conf" "$pkgdir/etc/xdg/compton.conf.example" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment