public
Created

oxygen-transparent-git's PKGBUILD use pacman4.1 features

  • Download Gist
PKGBUILD
Shell
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
# Maintainer: Alessio Sergi <asergi at archlinux dot us>
 
pkgname=oxygen-transparent-git
_pkgname=oxygen-transparent
pkgver=227.34095be
pkgrel=1
pkgdesc="Oxygen style and decoration with support for transparency"
arch=('i686' 'x86_64')
url="https://projects.kde.org/projects/playground/artwork/oxygen-transparent"
license=('GPL' 'LGPL')
depends=('kdebase-workspace')
makedepends=('cmake' 'git' 'automoc4')
source=("git+git://anongit.kde.org/oxygen-transparent#branch=KDE/4.10")
md5sums=('SKIP')
 
pkgver() {
cd "${srcdir}/${_pkgname}"
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}
 
 
 
build() {
cd "${srcdir}/${_pkgname}"
cmake -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt4 \
-DCMAKE_BUILD_TYPE=RELEASE \
-DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`
make
}
 
package() {
cd "${srcdir}/${_pkgname}"
make DESTDIR="${pkgdir}" install
}
 
# vim:set ts=2 sw=2 et:

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.