summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorT. Witt2017-07-23 21:12:43 +0200
committerT. Witt2017-07-23 21:12:43 +0200
commit0ca47e33bf9a32a0c2af4363f1170c5b4fd00817 (patch)
tree4c991ca61ba8439077660c3b99ee454df5917bd7
parent5b3ce990bdfe0c87050d847446dab0e5cb839d20 (diff)
downloadaur-0ca47e33bf9a32a0c2af4363f1170c5b4fd00817.tar.gz
fixed install issues
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD18
2 files changed, 8 insertions, 17 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 223a69dd114..03e33eac5c9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,14 +3,11 @@ pkgbase = plasma5-applets-analog24hclock
pkgver = 99999999
pkgrel = 1
url = https://github.com/sleepywitti/analog24hclock-plasmoid/
- arch = i686
- arch = x86_64
+ arch = any
license = GPL3
makedepends = git
- depends = plasma-framework
+ makedepends = extra-cmake-modules
depends = plasma-workspace
- depends = kconfigwidgets
- depends = kxmlgui
source = plasma5-applets-analog24hclock::git+https://github.com/sleepywitti/analog24hclock-plasmoid.git
md5sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 87b4059b855..475dbd6df9a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,16 +3,11 @@ pkgname=plasma5-applets-analog24hclock
pkgver=99999999
pkgrel=1
pkgdesc="Analog 24h clock"
-arch=('i686' 'x86_64')
+arch=('any')
url="https://github.com/sleepywitti/analog24hclock-plasmoid/"
license=('GPL3')
-depends=(
- plasma-framework
- plasma-workspace
- kconfigwidgets
- kxmlgui
-)
-makedepends=(git)
+depends=('plasma-workspace')
+makedepends=('git' 'extra-cmake-modules')
source=("${pkgname}::git+https://github.com/sleepywitti/analog24hclock-plasmoid.git")
md5sums=('SKIP')
@@ -27,20 +22,19 @@ pkgver() {
prepare() {
cd "$srcdir/${pkgname%-git}"
-
- mkdir -p build
+ mkdir build
}
build() {
cd "$srcdir/${pkgname%-git}"
-
cd build
- cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DKDE_INSTALL_USE_QT_SYS_PATHS=ON ..
make
}
package() {
cd "$srcdir/${pkgname}"
+
install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
cd build