summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8873f8289b520440f59e2df4ffb63aaa21926762 (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
# 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-xdg
pkgver=1.18
pkgrel=1
pkgdesc="TI graphing calculator link/transfer program - with Support for the XDG Base Directory Specification"
arch=('i686' 'x86_64')
url="http://lpg.ticalc.org/prj_tilp/"
license=('GPL2')
depends=('gtk2' 'libticalcs')
makedepends=('intltool')
optdepends=('gfm: to manage and manipulate TI Group Files (backups)')
source=("http://sourceforge.net/projects/tilp/files/tilp2-linux/tilp2-${pkgver}/tilp2-${pkgver}.tar.bz2"
        "remove-broken-kde-support.patch"
        "xdg-basedir.patch")
md5sums=('daff9cb7a86af8965453e737f8fba781'
         'b678c0fade4b2daffc5662d7094b1544'
         '59fdb64da7c1b123afb92ded69d25059')

prepare() {
  cd "${srcdir}/tilp2-${pkgver}"

  patch -Np1 < "${srcdir}/remove-broken-kde-support.patch"
  patch -Np1 < "${srcdir}/xdg-basedir.patch"
}

build() {
  cd "${srcdir}/tilp2-${pkgver}"

  autoreconf -ivf
  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/tilp2-${pkgver}"

  make install DESTDIR="${pkgdir}"
}