summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD21
1 files changed, 9 insertions, 12 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 88a73fbe464..92e860d1908 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,30 +5,27 @@
pkgname=wally
pkgver=2.4.5
-pkgrel=4
+pkgrel=5
pkgdesc="Qt4 desktop wallpaper changer, using multiple online and offline sources"
arch=('x86_64')
url="http://www.becrux.com/index.php?page=projects&name=wally"
license=('GPL')
depends=('qt4')
optdepends=('libexif: retrieve EXIF data')
-makedepends=('cmake' 'desktop-file-utils' 'gtk-update-icon-cache')
+makedepends=('cmake')
source=(http://www.becrux.com/pages/projects/$pkgname/$pkgname-$pkgver.tar.gz
wally.desktop)
-md5sums=('bd99473b23f42b5158341865fb6aa1bc'
- '5fe93f6b16e81d846a57e47136d9329a')
+sha256sums=('deb8aecf3742a93b5051fdc9ca2144a4f88892a465cd4723e04ec2a07f2cca5e'
+ 'cd469489b216e46899a6fd01709c8f66809d33cf3cfe4f74ecbfefd09be69207')
build() {
- cd $pkgname-$pkgver
- cmake -DCMAKE_EXE_LINKER_FLAGS=-lX11 -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
- make
+ cmake -B build -S $pkgname-$pkgver -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_EXE_LINKER_FLAGS=-lX11 -Wno-dev
+ make -C build
}
package() {
- install -Dm644 wally.desktop "$pkgdir/usr/share/applications/wally.desktop"
-
- cd $pkgname-$pkgver
- install -Dm644 res/images/wally.png "$pkgdir/usr/share/icons/hicolor/32x32/apps/wally.png"
- make DESTDIR="$pkgdir/" install
+ install -Dm644 $pkgname-$pkgver/res/images/wally.png -t "$pkgdir/usr/share/icons/hicolor/32x32/apps"
+ install -Dm644 wally.desktop -t "$pkgdir/usr/share/applications"
+ make -C build DESTDIR="$pkgdir/" install
}