diff options
author | Miguel Revilla | 2015-07-02 16:53:15 +0200 |
---|---|---|
committer | Miguel Revilla | 2015-07-02 16:53:15 +0200 |
commit | de95951d6f188cbc9de9ad7070d49ada74341fb2 (patch) | |
tree | 83057123d498f5a9e6b4eebbf8b613ed430ead55 | |
download | aur-libodb.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 32 |
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..71290370ebd9 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = libodb + pkgdesc = The ODB common runtime library + pkgver = 2.4.0 + pkgrel = 1 + url = http://www.codesynthesis.com/products/odb/ + arch = i686 + arch = x86_64 + license = GPL + depends = gcc-libs + options = !libtool + source = http://www.codesynthesis.com/download/odb/2.4/libodb-2.4.0.tar.bz2 + md5sums = ae3842876f4f30c78e9d71fcf945ff7a + +pkgname = libodb + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..02a598be1951 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Miguel Revilla <yo@miguelrevilla.com> +# Contributor: Miguel Revilla <yo@miguelrevilla.com> + +pkgname=libodb +pkgver=2.4.0 +pkgrel=1 +pkgdesc="The ODB common runtime library" +arch=('i686' 'x86_64') +depends=('gcc-libs') +url="http://www.codesynthesis.com/products/odb/" +options=('!libtool') +license=('GPL') +source=("http://www.codesynthesis.com/download/odb/2.4/libodb-${pkgver}.tar.bz2") +md5sums=('ae3842876f4f30c78e9d71fcf945ff7a') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure --prefix=/usr --libdir=/usr/lib/odb --with-pkgconfigdir=/usr/lib/pkgconfig + make ECHO=echo +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make ECHO=echo DESTDIR="${pkgdir}" install + + install -d -m 755 "${pkgdir}"/etc/ld.so.conf.d + echo "/usr/lib/odb" > "${pkgdir}"/etc/ld.so.conf.d/${pkgname}.conf + + install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE +} |