[arch-commits] Commit in java-sqlite-jdbc/repos (2 files)

Filipe Laíns ffy00 at archlinux.org
Fri Apr 26 08:36:47 UTC 2019


    Date: Friday, April 26, 2019 @ 08:36:46
  Author: ffy00
Revision: 454208

archrelease: copy trunk to community-x86_64

Added:
  java-sqlite-jdbc/repos/community-x86_64/
  java-sqlite-jdbc/repos/community-x86_64/PKGBUILD
    (from rev 454207, java-sqlite-jdbc/trunk/PKGBUILD)

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Copied: java-sqlite-jdbc/repos/community-x86_64/PKGBUILD (from rev 454207, java-sqlite-jdbc/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2019-04-26 08:36:46 UTC (rev 454208)
@@ -0,0 +1,34 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=sqlite-jdbc
+pkgname=java-$_pkgname
+pkgver=3.27.2.1
+pkgrel=1
+pkgdesc='Java SQLite database connector'
+arch=('x86_64')
+url='https://github.com/xerial/sqlite-jdbc'
+license=('Apache')
+depends=('java-runtime' 'sqlite')
+makedepends=('maven')
+source=("$_pkgname-$pkgver::$url/archive/$pkgver.tar.gz")
+sha512sums=('78fa3ac06ecf376a89e385469b4c1781a639a6757d8d63519e8441a1cf5de9d5bd0abad5e7c725a365cf6acfe1e62d68fadb8901a62fe2d6b4aa8f04814f2cd0')
+
+build() {
+  cd $_pkgname-$pkgver
+
+  mvn package -DskipTests
+}
+
+check() {
+  cd $_pkgname-$pkgver
+
+  mvn verify
+}
+
+package() {
+  cd $_pkgname-$pkgver/target
+
+  install -Dm 644 $_pkgname-$pkgver.jar "$pkgdir"/usr/share/java/$_pkgname/$_pkgname-$pkgver.jar
+  ln -sf /usr/share/java/$_pkgname/$_pkgname-$pkgver.jar "$pkgdir"/usr/share/java/$_pkgname/$_pkgname.jar
+}
+


More information about the arch-commits mailing list