diff options
author | Michael Hanson <hansonorders@verizon.net> | 2010-11-18 03:31:37 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verizon.net> | 2010-11-18 03:31:37 (GMT) |
commit | 488ec84742ffe827420da262b28be8fb5af94289 (patch) | |
tree | 95247bcf613aca24470396e59930866de9713042 /abs | |
parent | da43248abaa5c1d1455e2e9e9af2013d74a89c14 (diff) | |
download | linhes_pkgbuild-488ec84742ffe827420da262b28be8fb5af94289.zip linhes_pkgbuild-488ec84742ffe827420da262b28be8fb5af94289.tar.gz linhes_pkgbuild-488ec84742ffe827420da262b28be8fb5af94289.tar.bz2 |
automoc4: initial import 4 phonon
Diffstat (limited to 'abs')
-rw-r--r-- | abs/extra/automoc4/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/abs/extra/automoc4/PKGBUILD b/abs/extra/automoc4/PKGBUILD new file mode 100644 index 0000000..ece3a62 --- /dev/null +++ b/abs/extra/automoc4/PKGBUILD @@ -0,0 +1,31 @@ +# $ Id: $ +# Maintainer: Pierre Schmitz <pierre@archlinux.de> + +pkgname=automoc4 +pkgver=0.9.88 +pkgrel=1 +pkgdesc="KDE automoc4" +arch=('i686' 'x86_64') +url='http://www.kde.org' +license=('custom') +depends=('qt>=4.4') +makedepends=('pkgconfig' 'cmake') +source=("ftp://ftp.archlinux.org/other/automoc4/automoc4-${pkgver}.tar.bz2") +md5sums=('adffb45ea2b550f284b1e3455f525176') + +build() { + cd ${srcdir} + mkdir build + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr + make || return 1 +} +package() { + cd ${srcdir}/build + make DESTDIR=$pkgdir install || return 1 + + grep -A 21 '^ Copyright' ${srcdir}/${pkgname}-${pkgver}/kde4automoc.cpp > license.txt + install -D license.txt ${pkgdir}/usr/share/licenses/automoc4/license.txt +} |