[arch-commits] Commit in xf86miscproto/trunk (PKGBUILD)

Maxime Gauduin alucryd at archlinux.org
Wed Nov 2 16:56:37 UTC 2016


    Date: Wednesday, November 2, 2016 @ 16:56:37
  Author: alucryd
Revision: 194530

HTTPS/GPG todo

Modified:
  xf86miscproto/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-11-02 16:53:53 UTC (rev 194529)
+++ PKGBUILD	2016-11-02 16:56:37 UTC (rev 194530)
@@ -6,27 +6,26 @@
 pkgrel=1
 pkgdesc='X11 Misc extension wire protocol'
 arch=('any')
-url='http://xorg.freedesktop.org/'
+url='https://xorg.freedesktop.org/'
 license=('custom')
 makedepends=('xorg-util-macros')
-source=("${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2")
+source=("https://xorg.freedesktop.org/releases/individual/proto/xf86miscproto-${pkgver}.tar.bz2")
 sha256sums=('45b8ec6a4a8ca21066dce117e09dcc88539862e616e60fb391de05b36f63b095')
 
 build() {
-  cd ${pkgname}-${pkgver}
+  cd xf86miscproto-${pkgver}
 
-  ./configure --prefix='/usr'
+  ./configure \
+    --prefix='/usr'
   make
 }
 
 package() {
-  cd ${pkgname}-${pkgver}
+  cd xf86miscproto-${pkgver}
 
   make DESTDIR="${pkgdir}" install
 
-# License
-  install -dm 755 "${pkgdir}"/usr/share/licenses/${pkgname}
-  install -m 644 {,"${pkgdir}"/usr/share/licenses/${pkgname}/}COPYING
+  install -Dm 644 COPYING -t "${pkgdir}"/usr/share/licenses/xf86miscproto/
 }
 
 # vim: ts=2 sw=2 et:



More information about the arch-commits mailing list