Skip to content

Instantly share code, notes, and snippets.

@raku-cat
Created May 27, 2018 03:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save raku-cat/684f1adf5026104547d21295431b3518 to your computer and use it in GitHub Desktop.
Save raku-cat/684f1adf5026104547d21295431b3518 to your computer and use it in GitHub Desktop.
# Maintainer: Raku <raku@raku.party>
# Original compton-git PKGBUILD and aur package maintained by WorMzy Tykashi <wormzy.tykashi@gmail.com>
# Based of compton-blackcapcoder-git PKGBUILD by VerruckteFuchs <derverrucktefuchs@gmail.com>
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