Advertisement
Guest User

PKGBUILD postgresql-jdbc 42.3.1-1

a guest
Dec 29th, 2021
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.06 KB | None | 0 0
  1. #Mainteiner: Jesse Jaara <gmail.com: jesse.jaara>
  2.  
  3. pkgname=postgresql-jdbc
  4. pkgver=42.3.1
  5. pkgrel=1
  6. pkgdesc="The official JDBC driver for PostgreSQL. Contains JDBC 4.2 (Java 8) drivers."
  7. arch=('any')
  8. url="http://jdbc.postgresql.org/"
  9. license=("Custom: BSD")
  10. depends=('java-runtime')
  11. source=(LICENSE
  12. postgresql-jdbc-${pkgver}.jar::https://search.maven.org/remotecontent?filepath=org/postgresql/postgresql/${pkgver}/postgresql-${pkgver}.jar)
  13. sha256sums=('b6728bf7a595b7b7c4757238d1fea0fe4026881f4ed745889840bcd7fe2942d8'
  14. '8370570857da86eb4a76dd3d8505d34bac0c18186741fa83a6820a10fa441cb4')
  15.  
  16. noextract=(postgresql-jdbc-${pkgver}.jar)
  17.  
  18. package() {
  19. install -d -m755 "${pkgdir}/usr/share/java/${pkgname}"
  20. install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
  21.  
  22. install -m644 "${srcdir}/postgresql-jdbc-${pkgver}.jar" "${pkgdir}/usr/share/java/${pkgname}/"
  23.  
  24. ln -s postgresql-jdbc-${pkgver}.jar "${pkgdir}/usr/share/java/${pkgname}/postgresql-jdbc.jar"
  25.  
  26. install -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/"
  27. }
  28.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement