blob: a6326c7f170b5e568aedc4239d0f6e6938e9504d (
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
41
42
43
44
45
46
47
48
|
# Contributor: Antoine Viallon <antoine at lesviallon dot fr>
# Contributor: Jakob Gahde <j5lx@fmail.co.uk>
# Contributor: Taylor Lookabaugh <jesus.christ.i.love@gmail.com>
# Contributor: Jon Sturm <jasturm002@aol.com>
# Contributor: Scott Garrett <Wintervenom@archlinux.us>
_name=tilibs
pkgname=libticables-git
pkgver=1.18.r119.g7c4858d8
pkgrel=1
pkgdesc="TI File format library"
arch=('i686' 'x86_64')
url="http://lpg.ticalc.org/prj_tilp/"
license=('GPL-2.0-only')
depends=('glibc' 'glib2' 'gcc-libs')
makedepends=('git')
options=('!libtool')
install=libticables-git.install
conflicts=('libticables')
provides=('libticables')
source=(${_name}::git+https://github.com/debrouxl/tilibs.git
69-libticables.rules)
md5sums=('SKIP'
'2e38fe89764f129c567b06afbbdfdcd0')
pkgver() {
cd ${_name}
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd ${_name}/${pkgname%-*}/trunk
autoreconf -fi
}
build() {
cd ${_name}/${pkgname%-*}/trunk
./configure --prefix=/usr --enable-libusb10
make
}
package() {
cd ${_name}/${pkgname%-*}/trunk
make install DESTDIR="${pkgdir}"
install -Dm644 "${srcdir}/69-libticables.rules" "${pkgdir}/usr/lib/udev/rules.d/69-libticables.rules"
}
|