blob: 1b5a0b5097a797153f541b19e86a705e5536d26e (
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
|
# Maintainer: Morgenstern <charles [at] charlesbwise [dot] com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Alexander Fehr <pizzapunk gmail com>
pkgname=parcellite-git
pkgver=1.2.5.r0.ff88303
pkgrel=1
pkgdesc="Lightweight GTK+ clipboard manager (git version)"
arch=('x86_64')
url="https://github.com/rickyrockrat/${pkgname%%-*}"
license=('GPL-3.0-only')
depends=('gtk2')
makedepends=('git'
'intltool'
'psmisc')
optdepends=('xdotool: auto-paste support')
conflicts=('parcellite')
provides=('parcellite')
source=("$pkgname::git+https://github.com/rickyrockrat/${pkgname%%-*}")
sha512sums=('SKIP')
pkgver() {
cd "${srcdir}/${pkgname}"
git describe --long --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g'
}
prepare() {
cd "${srcdir}/${pkgname}"
touch src/config.simple.h
}
build() {
cd "${srcdir}/${pkgname}"
LDFLAGS+=' -Wl,-z,cet-report=error' make
}
package() {
cd "${srcdir}/${pkgname}"
make DESTDIR="${pkgdir}" prefix=/usr sysconfdir=/etc install
}
|