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

Alexander Rødseth arodseth at archlinux.org
Mon Dec 2 15:10:20 UTC 2019


    Date: Monday, December 2, 2019 @ 15:10:20
  Author: arodseth
Revision: 534698

upgpkg: alex 3.2.5-1

Modified:
  alex/trunk/PKGBUILD

----------+
 PKGBUILD |   28 +++++++++++++++-------------
 1 file changed, 15 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-02 13:46:46 UTC (rev 534697)
+++ PKGBUILD	2019-12-02 15:10:20 UTC (rev 534698)
@@ -1,30 +1,32 @@
-# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
 # Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
 # Contributor: Vesa Kaihlavirta <vegai at iki.fi>
 # Contributor: Philip Nilsson <pnilsson at nullref.se>
 
 pkgname=alex
-pkgver=3.2.4
-pkgrel=13
+pkgver=3.2.5
+pkgrel=1
 pkgdesc='Lexical analyser generator for Haskell'
-arch=('x86_64')
+arch=(x86_64)
 url='https://hackage.haskell.org/package/alex'
-license=('BSD')
-depends=('ghc-libs')
-makedepends=('happy' 'ghc')
+license=(BSD)
+depends=(ghc-libs)
+makedepends=(ghc happy)
 source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('e9e99caef4bc985aa37bd42488121f9b83c4f3026c9745ad12f50b5896e9f7c07f48a753c647c30ff16be804529d2478f8d90fa38e352f1d8861e610651c871a')
+sha512sums=('5823fb066c5ec67256108cfc1550703b86881f319337922e7248fb33def374f0010c60605538a49cfaaa880b0f73ace9dba6d088c078f3c455c5d9adce2719c9')
 
 build() {
-  cd "$pkgname-$pkgver"
-
-  runghc Setup.hs configure --prefix=/usr --datasubdir="$pkgname" --enable-executable-dynamic
+  cd $pkgname-$pkgver
+  runghc Setup.hs configure \
+    --prefix=/usr \
+    --datasubdir=$pkgname \
+    --enable-executable-dynamic \
+    --ghc-option=-optl-Wl\,-z\,relro\,-z\,now
   runghc Setup.hs build
 }
 
 package() {
-  cd "$pkgname-$pkgver"
-
+  cd $pkgname-$pkgver
   runghc Setup.hs copy --destdir="$pkgdir"
   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/alex/BSD3"
 



More information about the arch-commits mailing list