summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD33
1 files changed, 16 insertions, 17 deletions
diff --git a/PKGBUILD b/PKGBUILD
index cbf56c519aa..fa7afe97e71 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=plasma5-applets-weather-widget-git
_pkgname=plasma5-applets-weather-widget
_gitpkgname=plasma-applet-weather-widget
-pkgver=r137.f6c04ba
+pkgver=r156.b8c1287
pkgrel=1
pkgdesc="Plasmoid for Plasma 5. Shows weather information from yr.no server."
arch=('i686' 'x86_64')
@@ -17,26 +17,25 @@ source=("git+https://github.com/kotelnik/$_gitpkgname.git")
md5sums=('SKIP')
pkgver() {
- cd "${_gitpkgname}"
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ cd "${_gitpkgname}"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
- cd "${_gitpkgname}"
-
- mkdir -p build
- cd build
- rm -rf *
-
- cmake .. \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release \
- -DKDE_INSTALL_LIBDIR=lib \
- -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+ cd "${_gitpkgname}"
+
+ mkdir -p build
+ cd build
+ rm -rf *
+
+ cmake .. \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE_INSTALL_LIBDIR=lib \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
}
package() {
- cd "${_gitpkgname}"/build
-
- make install DESTDIR="${pkgdir}"
+ cd "${_gitpkgname}"/build
+ make install DESTDIR="${pkgdir}"
}