[arch-commits] Commit in (4 files)
Antonio Rojas
arojas at archlinux.org
Sat Mar 26 21:33:56 UTC 2016
Date: Saturday, March 26, 2016 @ 22:33:56
Author: arojas
Revision: 262599
Add minuet, new KDE Application
Added:
minuet/
minuet/kde-unstable/
minuet/kde-unstable/PKGBUILD
minuet/kde-unstable/minuet.install
----------------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
minuet.install | 11 +++++++++++
2 files changed, 46 insertions(+)
Added: minuet/kde-unstable/PKGBUILD
===================================================================
--- minuet/kde-unstable/PKGBUILD (rev 0)
+++ minuet/kde-unstable/PKGBUILD 2016-03-26 21:33:56 UTC (rev 262599)
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD 261475 2016-03-15 10:26:40Z arojas $
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=minuet
+pkgver=16.03.80
+pkgrel=1
+pkgdesc='A KDE Software for Music Education'
+url='https://minuet.kde.org'
+arch=(i686 x86_64)
+license=(GPL LGPL FDL)
+groups=(kde-applications kdeedu)
+depends=(kio drumstick)
+makedepends=(extra-cmake-modules kdoctools)
+install=$pkgname.install
+source=("http://download.kde.org/unstable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz")
+sha1sums=('d019e1723ec63bf49b26b26fa36248bdd2c7a778')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../$pkgname-$pkgver \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DBUILD_TESTING=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}
Added: minuet/kde-unstable/minuet.install
===================================================================
--- minuet/kde-unstable/minuet.install (rev 0)
+++ minuet/kde-unstable/minuet.install 2016-03-26 21:33:56 UTC (rev 262599)
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list