[arch-commits] Commit in automoc4/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Wed May 30 20:19:53 UTC 2018
Date: Wednesday, May 30, 2018 @ 20:19:53
Author: arojas
Revision: 325213
Rebuild
Modified:
automoc4/trunk/PKGBUILD
----------+
PKGBUILD | 28 +++++++++++++---------------
1 file changed, 13 insertions(+), 15 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-30 20:17:40 UTC (rev 325212)
+++ PKGBUILD 2018-05-30 20:19:53 UTC (rev 325213)
@@ -5,18 +5,18 @@
pkgname=automoc4
pkgver=0.9.88
-pkgrel=8
+pkgrel=9
pkgdesc="Automatic moc for Qt4"
-arch=('x86_64')
+arch=(x86_64)
url='http://www.kde.org/'
-license=('custom')
-depends=('qt4')
-makedepends=('pkgconfig' 'cmake')
-source=("http://download.kde.org/stable/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.bz2"
- 'license.txt' 'fix-cmake-warnings.patch')
-md5sums=('91bf517cb940109180ecd07bc90c69ec'
- '9014edbb7e2f02fe90b2db8707487bce'
- '65d8c4b8bb46ac408a8c3d5d82167f9b')
+license=(custom)
+depends=(qt4)
+makedepends=(cmake)
+source=("http://download.kde.org/stable/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2"
+ license.txt fix-cmake-warnings.patch)
+sha256sums=('234116f4c05ae21d828594d652b4c4a052ef75727e2d8a4f3a4fb605de9e4c49'
+ 'd99c6d161e46c23c46f027c76c1d2e134acffb08636cd0ede2e98a4825d7ea78'
+ 'db3fcf5a95d7e02b97c2f90c76919210d4877dd3ca3c55aa6a367c08a466fefc')
prepare() {
mkdir -p build
@@ -28,8 +28,7 @@
build() {
cd build
- cmake ../${pkgname}-${pkgver} \
- -DCMAKE_BUILD_TYPE=Release \
+ cmake ../$pkgname-$pkgver \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
@@ -36,8 +35,7 @@
package() {
cd build
- make DESTDIR="${pkgdir}" install
+ make DESTDIR="$pkgdir" install
- install -Dm644 "${srcdir}/license.txt" \
- "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -Dm644 "$srcdir/license.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
More information about the arch-commits
mailing list