blob: e0deb3a84c9b4883b30979a66c04f06ddd73a25d (
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: Gustavo Alvarez <sl1pkn07@gmail.com>
pkgname=libxcm-git
pkgver=0.5.3.41.g29efdc3
pkgrel=1
pkgdesc="A library containing the a reference implementation of the net-color specs. (GIT version)"
arch=('i686' 'x86_64')
url='http://www.oyranos.org/libxcm'
license=('BSD')
depends=('libxfixes'
'libxmu'
)
makedepends=('git')
conflicts=('libxcm')
provides=('libxcm')
source=("git+https://github.com/oyranos-cms/libxcm.git")
sha256sums=('SKIP')
pkgver() {
cd libxcm
echo "$(git describe --long --tags | sed 's|libXcm-||g' | tr - .)"
}
prepare() {
cd libxcm
autoreconf -f
}
build() {
cd libxcm
./configure \
--prefix=/usr
make
}
package() {
make -C libxcm DESTDIR="${pkgdir}" install
install -Dm644 libxcm/docs/COPYING.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
}
|