Date: Tuesday, January 10, 2023 @ 20:16:48
  Author: felixonmars
Revision: 1382376

archrelease: copy trunk to community-x86_64

Added:
  haskell-xcffib/repos/community-x86_64/PKGBUILD
    (from rev 1382375, haskell-xcffib/trunk/PKGBUILD)
Deleted:
  haskell-xcffib/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   86 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 43 insertions(+), 43 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-01-10 20:16:37 UTC (rev 1382375)
+++ PKGBUILD    2023-01-10 20:16:48 UTC (rev 1382376)
@@ -1,43 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-_hkgname=xcffib
-pkgname=haskell-xcffib
-pkgver=1.0.0
-pkgrel=4
-pkgdesc="A cffi-based python binding for X"
-url="https://github.com/tych0/xcffib";
-license=('Apache')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
-         'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
-makedepends=('ghc' 'uusi')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
-sha512sums=('dbbad21dec83f7df3947e2f182294acd1ea6240d1b8e4b398d0c4b872539900f907fb94d9193c24f49c57062c7469102b0c20078e6022af3fbd8786df883c316')
-
-prepare() {
-    cd $_hkgname-$pkgver
-    gen-setup
-}
-
-build() {
-    cd $_hkgname-$pkgver
-    
-    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
-        --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname \
-        --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
-    runhaskell Setup build $MAKEFLAGS
-    runhaskell Setup register --gen-script
-    runhaskell Setup unregister --gen-script
-    sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-    sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-package() {
-    cd $_hkgname-$pkgver
-    
-    install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-    install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-    runhaskell Setup copy --destdir="$pkgdir"
-    install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-    rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-xcffib/repos/community-x86_64/PKGBUILD (from rev 1382375, 
haskell-xcffib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-01-10 20:16:48 UTC (rev 1382376)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan <[email protected]>
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=1.1.0
+pkgrel=1
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib";
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+         'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('cb277f0244d6b5a64c63b95c1971a7aa676cc3613a22da2556f15400311d61661cab49e03b75dcad82f1ecbf376e81a70113d1d7d2c7c0c5821dc64b8137706d')
+
+prepare() {
+    cd $_hkgname-$pkgver
+    gen-setup
+}
+
+build() {
+    cd $_hkgname-$pkgver
+    
+    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+        --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname \
+        --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+    runhaskell Setup build $MAKEFLAGS
+    runhaskell Setup register --gen-script
+    runhaskell Setup unregister --gen-script
+    sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+    sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+    cd $_hkgname-$pkgver
+    
+    install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+    install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+    runhaskell Setup copy --destdir="$pkgdir"
+    install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+    rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}

Reply via email to