blob: ceb3b81b9b762a487a07dc51b114b838569a7c9a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
# Contributor: Ner0 <darkelfdarkelf666@yahoo.co.uk>
pkgname=pantheon-files-plugin-dropbox-bzr
pkgver=r24
pkgrel=1
pkgdesc='Dropbox integration for pantheon-files'
arch=('i686' 'x86_64')
url='https://launchpad.net/pantheon-files'
license=('GPL3')
depends=('pantheon-files')
makedepends=('bzr' 'cmake')
provides=('pantheon-files-plugin-dropbox')
conflicts=('pantheon-files-plugin-dropbox')
source=('bzr+lp:~elementary-apps/pantheon-files/pantheon-files-plugin-dropbox')
sha256sums=('SKIP')
pkgver() {
cd ${pkgname%-*}
echo "r$(bzr revno)"
}
build() {
cd pantheon-files-plugin-dropbox
if [[ -d build ]]; then
rm -rf build
fi
mkdir build && cd build
cmake .. \
-DCMAKE_BUILD_TYPE='Release' \
-DCMAKE_INSTALL_PREFIX='/usr'
make
}
package() {
cd pantheon-files-plugin-dropbox/build
make DESTDIR="${pkgdir}" install
}
# vim: ts=2 sw=2 et:
|