blob: 9e73954b02a38d8e841d8daaff3b427436c13206 (
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
|
# Maintainer: Cezary Drożak <czarek@drozak.net>
# Contributor: TDY <tdy@gmx.com>
# Contributor: Eduard "bekks" Warkentin <eduard.warkentin@gmail.com>
# Contributor: Luke Shumaker <lukeshu@sbcglobal.net>
# Contributor: Miguel Revilla <yo@miguelrevilla.com>
_pkgver=1.0.0
_pkgname=mdbtools
_srcname="${_pkgname}-${_pkgver}"
pkgname=mdbtools
pkgver=${_pkgver//-/_}
pkgrel=1
provides=("mdbtools=$pkgver")
pkgdesc="Utilities for viewing data and exporting schema from Microsoft Access database files"
arch=('i686' 'x86_64')
url="https://github.com/mdbtools/mdbtools"
license=('LGPL' 'GPL')
makedepends=('unixodbc')
depends=('unixodbc' 'glib2')
optdepends=('gmdb2: graphical viewer for MDB files')
source=("${_srcname}.tar.gz::$url/archive/v${_pkgver}.tar.gz")
md5sums=('e38a81b5e868a5db4c04a6aaef4fefdb')
prepare() {
cd "${srcdir}/${_srcname}"
autoreconf -i -f
}
build() {
cd "${srcdir}/${_srcname}"
./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man \
--with-unixodbc=/usr
make
}
package() {
cd "${srcdir}/${_srcname}"
make DESTDIR="${pkgdir}" install
}
# vim: ts=2 sw=2 ft=sh et
|