blob: c08bf5caf52056a5b67fc1619f848654fe0fea04 (
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: Niels Martignène <niels.martignene@gmail.com>
pkgname=xscope-git
pkgver=1.4.1.5.gf7af80a
pkgrel=1
pkgdesc="A program to monitor X11/Client conversations"
arch=('x86_64' 'i686')
url="https://gitlab.freedesktop.org/xorg/app/xscope"
license=('MIT')
depends=('glibc')
makedepends=('git' 'xproto' 'xtrans' 'xorg-util-macros')
conflicts=('xscope')
source=("git+https://gitlab.freedesktop.org/xorg/app/xscope")
md5sums=('SKIP')
pkgver() {
cd xscope
git describe --long | sed -r 's/xscope-//;s/xscope-([^-]*-g)/r\1/;s/-/./g'
}
build() {
cd xscope
./autogen.sh --prefix=/usr
make
}
package() {
cd xscope
make DESTDIR="${pkgdir}/" install
mkdir -p "${pkgdir}/usr/share/doc/xscope"
install -Dm644 README "${pkgdir}/usr/share/doc/xscope/"
mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}"
install -Dm644 AUTHORS COPYING "$pkgdir/usr/share/licenses/${pkgname}/"
}
|