Created
June 3, 2013 03:20
-
-
Save proudzhu/5695978 to your computer and use it in GitHub Desktop.
oxygen-transparent-git's PKGBUILD use pacman4.1 features
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: 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: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment