blob: 860fe8def02cbde51a52c17a9e7564056bda60e6 (
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
|
# Maintainer: fyr <wildefur@gmail.com>
pkgname=mmutils-git
pkgver=1.1.1.r4.g4beedf9
pkgrel=1
pkgdesc="A set of utilities for querying xrandr monitor information"
url="http://github.com/pockata/mmutils"
arch=('i686' 'x86_64')
license=('ISC')
depends=('libxcb' 'xcb-util' 'xcb-util-wm' 'libwm-git')
makedepends=('git')
conflicts=()
source=("$pkgname::git+https://github.com/pockata/mmutils.git")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname"
git describe --long --tags | sed -r 's/^v//g;s/([^-]*-g)/r\1/;s/-/./g'
}
build() {
cd "$srcdir/$pkgname"
make
}
package() {
prefix="/usr"
manprefix="$prefix/share/man"
licenseprefix="$prefix/share/licenses/$pkgname"
docprefix="$prefix/share/doc/$pkgname"
cd "$srcdir/$pkgname"
make DESTDIR="$pkgdir" PREFIX="$prefix" MANPREFIX="$manprefix" install
}
|