1
0
mirror of https://github.com/moparisthebest/arch-ppa synced 2024-11-21 08:15:01 -05:00

delete litesql-git

This commit is contained in:
Travis Burtrum 2018-09-01 00:02:43 -04:00
parent 03a5a73af7
commit 3ae506de19

View File

@ -1,45 +0,0 @@
# Maintainer: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
_pkgname=litesql
pkgname="$_pkgname-git"
pkgver=r647.a83e253
pkgrel=1
pkgdesc="C++ ORM for SQLite3, PostgreSQL, MySQL and Oracle"
arch=('i686' 'x86_64' 'armv7h')
url="https://dev.louiz.org/projects/litesql"
license=('BSD3')
#depends=('expat' 'libmariadbclient' 'postgresql-libs' 'sqlite')
depends=('expat' 'sqlite')
makedepends=('git' 'cmake')
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("$_pkgname::git://git.louiz.org/litesql")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}
prepare() {
cd "$srcdir/$_pkgname"
mkdir -p build
}
build() {
cd "$srcdir/$_pkgname/build"
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ..
make
}
check() {
cd "$srcdir/$_pkgname/build"
make test
}
package() {
cd "$srcdir/$_pkgname/build"
make DESTDIR="$pkgdir/" install
install -Dm644 ../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}