summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3adb0c8c6270fd2c37db6f88e2c4290ef22646f7 (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
# Maintainer:  twa022 <twa022 at gmail dot com>
# Contributor: René Wagner <rwagner at rw-net dot de>
# Contributor: Vlad M. <vlad@archlinux.net>
# Contributor: Martin Wimpress <code@flexion.org>
#
pkgname=caja-dropbox
pkgver=1.28.0
pkgrel=1
pkgdesc="Dropbox extension for Caja file manager"
arch=('i686' 'x86_64')
url="https://github.com/mate-desktop/caja-dropbox"
license=('custom:CC-BY-ND-3' 'GPL')
groups=('caja-extensions')
depends=('caja' 'glib2' 'libnotify' 'polkit' 'procps' 'xdg-utils')
optdepends=('dropbox: Dropbox support')
makedepends=('mate-common' 'python-docutils' 'autoconf-archive')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
sha256sums=('6a774e7bfef71cf3c99d6a4fcdd3f3f299c20472e2229599fb41fdc5cb42e90d')

_prepare() {
    cd "${pkgname}-${pkgver}"
    autoreconf -fi
}

build() {
    cd "${pkgname}-${pkgver}"
    ./autogen.sh
    ./configure \
        --prefix=/usr \
        --disable-static
    make
}

package() {
    cd "${pkgname}-${pkgver}"
    make DESTDIR="${pkgdir}" install
    install -D -m 644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
    rm -fr "${pkgdir}"/usr/{bin,share/applications}
}