blob: 171aa9c3c1e2e737fd2f876d43e3a29e92891a41 (
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
49
50
51
52
53
54
55
56
|
# Maintainer: Jakob Gahde <j5lx@fmail.co.uk>
# Contributor: Limao Luo <luolimao+AUR@gmail.com>
# Contributor: Taylor Lookabaugh <jesus.christ.i.love@gmail.com>
# Contributor: Jon Sturm <Jasturm002@aol.com>
# Contributor: Scott Garrett <Wintervenom@archlinux.us>
pkgname=tilp-git
pkgver=1.18.r25.g4fdd6bd0
pkgrel=2
pkgdesc="TI graphing calculator link/transfer program"
groups=("knightos")
arch=('i686' 'x86_64')
url="https://github.com/adriweb/tilp_and_gfm/tree/gtk3"
license=('GPL2')
depends=('gtk3' 'libticalcs')
makedepends=('intltool')
optdepends=('gfm: to manage and manipulate TI Group Files (backups)')
source=("$pkgname::git+https://github.com/adriweb/tilp_and_gfm.git#branch=gtk3")
md5sums=('SKIP')
provides=('tilp')
conflicts=('tilp')
pkgver() {
cd "$pkgbase"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
#cd "${srcdir}/tilp2-${pkgver}"
cd "${srcdir}/${pkgname}/tilp/trunk"
#patch -Np1 < "${srcdir}/remove-broken-kde-support.patch"
}
build() {
#cd "${srcdir}/tilp2-${pkgver}"
cd "${srcdir}/${pkgname}/tilp/trunk"
# mkdir -p build
# cd build
# cmake -DCMAKE_INSTALL_PREFIX=/usr ..
# cmake --build ..
autoreconf -ivf
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}/${pkgname}/tilp/trunk"
#cd "${srcdir}/tilp2-${pkgver}"
#make --install ..
make install DESTDIR="${pkgdir}"
}
|