[arch-commits] Commit in xtrans/repos (staging-any staging-any/PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Sat May 16 12:50:59 UTC 2020


    Date: Saturday, May 16, 2020 @ 12:50:58
  Author: foutrelis
Revision: 384585

archrelease: copy trunk to staging-any

Added:
  xtrans/repos/staging-any/
  xtrans/repos/staging-any/PKGBUILD
    (from rev 384584, xtrans/trunk/PKGBUILD)

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

Copied: xtrans/repos/staging-any/PKGBUILD (from rev 384584, xtrans/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2020-05-16 12:50:58 UTC (rev 384585)
@@ -0,0 +1,31 @@
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=xtrans
+pkgver=1.4.0
+pkgrel=2
+pkgdesc="X transport library"
+arch=('any')
+license=('custom')
+url="https://xorg.freedesktop.org/"
+options=(!emptydirs)
+source=(${url}/releases/individual/lib/${pkgname}-${pkgver}.tar.bz2{,.sig})
+sha512sums=('4fea89a3455c0e13321cbefa43340016dbb59bdd0dbdb5b796c1a6d2a6b1fd63cf1327b769ab426286b9c54b32ec764a50cd2b46228e4e43b841bda6b94de214'
+            'SKIP')
+validpgpkeys=('C383B778255613DFDB409D91DB221A6900000011') #  "Keith Packard <keithp at keithp.com>"
+validpgpkeys+=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # Alan Coopersmith <alan.coopersmith at oracle.com>
+
+build() {
+  cd ${pkgname}-${pkgver}
+  ./configure --prefix=/usr 
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+
+  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+
+  install -m755 -d "${pkgdir}/usr/lib"
+  mv "${pkgdir}/usr/share/pkgconfig" "${pkgdir}/usr/lib/pkgconfig"
+}



More information about the arch-commits mailing list