[arch-commits] Commit in alex/repos/community-x86_64 (PKGBUILD PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Wed Dec 4 12:33:58 UTC 2019


    Date: Wednesday, December 4, 2019 @ 12:33:58
  Author: arodseth
Revision: 535185

archrelease: copy trunk to community-x86_64

Added:
  alex/repos/community-x86_64/PKGBUILD
    (from rev 535184, alex/trunk/PKGBUILD)
Deleted:
  alex/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   77 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 39 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-04 12:33:51 UTC (rev 535184)
+++ PKGBUILD	2019-12-04 12:33:58 UTC (rev 535185)
@@ -1,38 +0,0 @@
-# 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.5
-pkgrel=1
-pkgdesc='Lexical analyser generator for Haskell'
-arch=(x86_64)
-url='https://hackage.haskell.org/package/alex'
-license=(BSD)
-depends=(ghc-libs)
-makedepends=(ghc happy)
-source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('5823fb066c5ec67256108cfc1550703b86881f319337922e7248fb33def374f0010c60605538a49cfaaa880b0f73ace9dba6d088c078f3c455c5d9adce2719c9')
-
-build() {
-  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
-  runghc Setup.hs copy --destdir="$pkgdir"
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/alex/BSD3"
-
-  # Doc only contains the license
-  rm -rf "$pkgdir/usr/share/doc"
-}
-
-# getver: hackage.haskell.org/package/alex/changelog
-# vim: ts=2 sw=2 et:

Copied: alex/repos/community-x86_64/PKGBUILD (from rev 535184, alex/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-12-04 12:33:58 UTC (rev 535185)
@@ -0,0 +1,39 @@
+# 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.5
+pkgrel=2
+pkgdesc='Lexical analyser generator for Haskell'
+arch=(x86_64)
+url='https://hackage.haskell.org/package/alex'
+license=(BSD)
+depends=(ghc-libs)
+makedepends=(ghc happy)
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('5823fb066c5ec67256108cfc1550703b86881f319337922e7248fb33def374f0010c60605538a49cfaaa880b0f73ace9dba6d088c078f3c455c5d9adce2719c9')
+
+build() {
+  cd $pkgname-$pkgver
+  runghc Setup.hs configure \
+    --prefix=/usr \
+    --datasubdir=$pkgname \
+    --enable-executable-dynamic \
+    --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+    --ghc-option='-pie'
+  runghc Setup.hs build
+}
+
+package() {
+  cd $pkgname-$pkgver
+  runghc Setup.hs copy --destdir="$pkgdir"
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/alex/BSD3"
+
+  # Doc only contains the license
+  rm -rf "$pkgdir/usr/share/doc"
+}
+
+# getver: hackage.haskell.org/package/alex/changelog
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list