summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 06b2a346f4e455e1c2e908e322dbd0d63f0f000d (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
# Maintainer: Miguel Revilla <yo@miguelrevilla.com>
# Contributor: Miguel Revilla <yo@miguelrevilla.com>

pkgname=libodb-sqlite
pkgver=2.4.0
pkgrel=1
pkgdesc="The ODB SQLite runtime library"
arch=('i686' 'x86_64')
depends=('libodb' 'sqlite')
url="http://www.codesynthesis.com/products/odb/"
options=(!libtool)
license=('GPL')
source=("http://www.codesynthesis.com/download/odb/2.4/libodb-sqlite-${pkgver}.tar.bz2")
md5sums=('4415627849cd7d9f5dac7a160b245d4c')

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

  ./configure --prefix=/usr --libdir=/usr/lib/odb --with-pkgconfigdir=/usr/lib/pkgconfig --with-libodb=/usr/lib
  make ECHO=echo
}

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

  make ECHO=echo DESTDIR="${pkgdir}" install

  install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
}