summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJeinzi2019-07-28 00:42:57 +0200
committerJeinzi2019-07-28 00:42:57 +0200
commit936f04e5c412c1628a0f89a779a4633382ac61c6 (patch)
tree619e8b2e4e1fd61f255fc731eda7f483f439ac1f /PKGBUILD
parentdc6b775121a0803f32db51606c27c2c9698cb517 (diff)
downloadaur-thunar-dropbox.tar.gz
0.3.1: Removed waf from build process, fixed compiler warnings.
Diffstat (limited to 'PKGBUILD')
-rwxr-xr-x[-rw-r--r--]PKGBUILD14
1 files changed, 7 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a4b1dd67a72..1f6c8bb2bee 100644..100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,25 +2,25 @@
# Contributer: Maato <maato at softwarebakery dot com>
pkgname='thunar-dropbox'
-pkgver=0.3.0
+pkgver=0.3.1
pkgrel=1
-pkgdesc="Plugin for thunar that adds context-menu items for dropbox."
+pkgdesc="Plugin for Thunar that adds context-menu items for Dropbox."
arch=('i686' 'x86_64')
url="https://github.com/Jeinzi/thunar-dropbox"
license=('GPL3')
depends=('thunar')
-makedepends=('python2')
+makedepends=("git" "cmake")
source=("$pkgname-$pkgver.zip::https://github.com/Jeinzi/thunar-dropbox/archive/$pkgver.zip")
-sha256sums=('776e563aac7b3a5f136e82fee13eb083d6446a44ddcea0c228017133c2180a81')
+sha256sums=('c9692bb8f88451d92ae35b30586351eab0af3adb6ba59c47c16a22304409adec')
build() {
cd "$srcdir/$pkgname-$pkgver"
- python2 waf configure --prefix=/usr || return 1
- python2 waf build || return 1
+ cmake -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH="$pkgdir/usr" .
+ cmake --build build
}
package() {
cd "$srcdir/$pkgname-$pkgver"
- python2 waf install --destdir=$pkgdir || return 1
+ cmake --build build --target install --config Release
}