diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-05-04 10:10:35 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-05-04 10:10:35 -0300 |
commit | b9ab7ef683fd366635faca49342ee005846037ab (patch) | |
tree | 3bb0ff57a43d068e85dc5318887f700b071c7f8f /extra/automoc4 | |
parent | 7046a475b24925c0ec7816ef7d2cdcf3b9cd4eb0 (diff) | |
parent | ab1410d33401cf1fc4a384bb0b2d9901c8fe8d14 (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community/gimmie/PKGBUILD
community/glipper-old/PKGBUILD
community/glipper/PKGBUILD
community/lcms2/PKGBUILD
community/libpanelappletmm/PKGBUILD
community/panflute/PKGBUILD
community/sensors-applet/PKGBUILD
community/wtf/PKGBUILD
community/xmonad-log-applet/PKGBUILD
core/binutils/PKGBUILD
core/tzdata/PKGBUILD
extra/a52dec/PKGBUILD
extra/aubio/PKGBUILD
extra/automoc4/PKGBUILD
extra/deskbar-applet/PKGBUILD
extra/eject/PKGBUILD
extra/ekiga/PKGBUILD
extra/gnome-netstatus/PKGBUILD
extra/gnome-python-desktop/PKGBUILD
extra/htdig/PKGBUILD
extra/ktorrent/PKGBUILD
extra/libgail-gnome/PKGBUILD
extra/libktorrent/PKGBUILD
extra/libofa/PKGBUILD
extra/netspeed-applet/PKGBUILD
extra/openexr/PKGBUILD
extra/postgresql/PKGBUILD
extra/pulseaudio-mixer-applet/PKGBUILD
extra/seahorse-plugins/PKGBUILD
extra/telepathy-qt4/PKGBUILD
libre/kernel26-libre/PKGBUILD
testing/libtool/PKGBUILD
testing/xfsprogs/PKGBUILD
Diffstat (limited to 'extra/automoc4')
-rw-r--r-- | extra/automoc4/PKGBUILD | 27 | ||||
-rw-r--r-- | extra/automoc4/license.txt | 31 |
2 files changed, 47 insertions, 11 deletions
diff --git a/extra/automoc4/PKGBUILD b/extra/automoc4/PKGBUILD index a71031bf3..2d0f8dc7c 100644 --- a/extra/automoc4/PKGBUILD +++ b/extra/automoc4/PKGBUILD @@ -1,28 +1,33 @@ -# $ Id: $ -# Maintainer: Pierre Schmitz <pierre@archlinux.de> +# $Id: PKGBUILD 122082 2011-05-02 06:05:33Z 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=2 +pkgdesc="Automatic moc for Qt4" arch=('i686' 'x86_64' 'mips64el') 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} + cd "${srcdir}" mkdir build cd build cmake ../${pkgname}-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr make - make DESTDIR=$pkgdir install +} - 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" } diff --git a/extra/automoc4/license.txt b/extra/automoc4/license.txt new file mode 100644 index 000000000..f9db60340 --- /dev/null +++ b/extra/automoc4/license.txt @@ -0,0 +1,31 @@ +Upstream Authors: + + Mathias Kretz <kretz@kde.org> + Alexander Neundorff <neundorff@kde.org> + +Copyright: + + Copyright (c) 2007 Mathias Kretz <kretz@kde.org> + +License: + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |