summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5938b6d9ed29c8064332f220e98440667000965c (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
# Maintainer: Nate Simon <aurpkg (at natesimon.net)>

pkgname=xviewer-plugins-git
pkgver=1.0.2.r2.g546f53e
pkgrel=1
pkgdesc="Plugins for xviewer. X-Apps Project (git version)."
arch=('i686' 'x86_64')
license=('GPL')
depends=('xviewer-git' 'libpeas')
makedepends=('gnome-common')
provides=($_pkgname)
conflicts=('xviewer-plugins-git')
url='https://github.com/linuxmint/xviewer-plugins'

source=('xviewer-plugins-git::git+https://github.com/linuxmint/xviewer-plugins.git')
md5sums=('SKIP')

pkgver() {
    cd ${srcdir}/${pkgname}
    git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
    cd ${srcdir}/${pkgname}
    ./autogen.sh --prefix="/usr" \
        --localstatedir="/var" \
        --libexecdir="/usr/lib/xviewer-plugins"
    make
}

package(){
    cd ${srcdir}/${pkgname}
    make DESTDIR="$pkgdir/" install
}