diff options
author | James Meyer <james.meyer@operamail.com> | 2012-08-15 15:40:00 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-08-15 15:40:00 (GMT) |
commit | 8ebf19d99904e330468627415b25bd16cb87da16 (patch) | |
tree | 2d822434edf698deb165ab6407f122723d11006f /abs/extra/automoc4/PKGBUILD | |
parent | 3da5ea3906e610ff21d9fec77e07e5b781ba3d5e (diff) | |
download | linhes_pkgbuild-8ebf19d99904e330468627415b25bd16cb87da16.zip linhes_pkgbuild-8ebf19d99904e330468627415b25bd16cb87da16.tar.gz linhes_pkgbuild-8ebf19d99904e330468627415b25bd16cb87da16.tar.bz2 |
automoc4: 0.9.88
Diffstat (limited to 'abs/extra/automoc4/PKGBUILD')
-rw-r--r-- | abs/extra/automoc4/PKGBUILD | 42 |
1 files changed, 22 insertions, 20 deletions
diff --git a/abs/extra/automoc4/PKGBUILD b/abs/extra/automoc4/PKGBUILD index ece3a62..4e13090 100644 --- a/abs/extra/automoc4/PKGBUILD +++ b/abs/extra/automoc4/PKGBUILD @@ -1,31 +1,33 @@ -# $ Id: $ -# Maintainer: Pierre Schmitz <pierre@archlinux.de> +# $Id: PKGBUILD 149006 2012-02-05 13:49:43Z andrea $ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> +# Contributor: Pierre Schmitz <pierre@archlinux.de> pkgname=automoc4 pkgver=0.9.88 -pkgrel=1 -pkgdesc="KDE automoc4" +pkgrel=3 +pkgdesc="Automatic moc for Qt4" arch=('i686' 'x86_64') -url='http://www.kde.org' +url='http://www.kde.org/' license=('custom') -depends=('qt>=4.4') +depends=('qt') makedepends=('pkgconfig' 'cmake') -source=("ftp://ftp.archlinux.org/other/automoc4/automoc4-${pkgver}.tar.bz2") -md5sums=('adffb45ea2b550f284b1e3455f525176') +source=("http://download.kde.org/stable/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.bz2" + 'license.txt') +md5sums=('91bf517cb940109180ecd07bc90c69ec' + '9014edbb7e2f02fe90b2db8707487bce') build() { - cd ${srcdir} - mkdir build - cd build - cmake ../${pkgname}-${pkgver} \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=/usr - make || return 1 + cd "${srcdir}" + mkdir build + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr + make } -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 +package() { + cd "${srcdir}/build" + make DESTDIR="${pkgdir}" install + install -Dm644 "${srcdir}/license.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } |