[arch-commits] Commit in haskell-algebraic-graphs/repos (2 files)
Date: Tuesday, December 29, 2020 @ 09:53:15 Author: felixonmars Revision: 796683 archrelease: copy trunk to community-staging-x86_64 Added: haskell-algebraic-graphs/repos/community-staging-x86_64/ haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 796682, haskell-algebraic-graphs/trunk/PKGBUILD) --+ PKGBUILD | 51 +++ 1 file changed, 51 insertions(+) Copied: haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 796682, haskell-algebraic-graphs/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-29 09:53:15 UTC (rev 796683) @@ -0,0 +1,51 @@ +# Maintainer: Felix Yan + +_hkgname=algebraic-graphs +pkgname=haskell-algebraic-graphs +pkgver=0.5 +pkgrel=35 +pkgdesc="A library for algebraic graph construction and transformation" +url="https://github.com/snowleopard/alga; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc' 'haskell-extra' 'haskell-inspection-testing' 'haskell-quickcheck') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha256sums=('89b9fecf8245476ec823355125fcb95decf41fd9784e807d7bd0d09f0a79c50b') + +prepare() { + cd $_hkgname-$pkgver + sed -i 's/< *2.14/<3/' $_hkgname.cabal + sed -i '/instance Arbitrary a => Arbitrary (Tree a) where/,+13d' test/Algebra/Graph/Test/Arbitrary.hs +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +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 +}
[arch-commits] Commit in haskell-algebraic-graphs/repos (2 files)
Date: Monday, December 28, 2020 @ 10:12:41 Author: felixonmars Revision: 794553 archrelease: copy trunk to community-staging-x86_64 Added: haskell-algebraic-graphs/repos/community-staging-x86_64/ haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 794552, haskell-algebraic-graphs/trunk/PKGBUILD) --+ PKGBUILD | 51 +++ 1 file changed, 51 insertions(+) Copied: haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 794552, haskell-algebraic-graphs/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-28 10:12:41 UTC (rev 794553) @@ -0,0 +1,51 @@ +# Maintainer: Felix Yan + +_hkgname=algebraic-graphs +pkgname=haskell-algebraic-graphs +pkgver=0.5 +pkgrel=34 +pkgdesc="A library for algebraic graph construction and transformation" +url="https://github.com/snowleopard/alga; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc' 'haskell-extra' 'haskell-inspection-testing' 'haskell-quickcheck') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha256sums=('89b9fecf8245476ec823355125fcb95decf41fd9784e807d7bd0d09f0a79c50b') + +prepare() { + cd $_hkgname-$pkgver + sed -i 's/< *2.14/<3/' $_hkgname.cabal + sed -i '/instance Arbitrary a => Arbitrary (Tree a) where/,+13d' test/Algebra/Graph/Test/Arbitrary.hs +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +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 +}
[arch-commits] Commit in haskell-algebraic-graphs/repos (2 files)
Date: Saturday, December 26, 2020 @ 04:48:53 Author: felixonmars Revision: 791930 archrelease: copy trunk to community-staging-x86_64 Added: haskell-algebraic-graphs/repos/community-staging-x86_64/ haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 791929, haskell-algebraic-graphs/trunk/PKGBUILD) --+ PKGBUILD | 51 +++ 1 file changed, 51 insertions(+) Copied: haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 791929, haskell-algebraic-graphs/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-26 04:48:53 UTC (rev 791930) @@ -0,0 +1,51 @@ +# Maintainer: Felix Yan + +_hkgname=algebraic-graphs +pkgname=haskell-algebraic-graphs +pkgver=0.5 +pkgrel=33 +pkgdesc="A library for algebraic graph construction and transformation" +url="https://github.com/snowleopard/alga; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc' 'haskell-extra' 'haskell-inspection-testing' 'haskell-quickcheck') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha256sums=('89b9fecf8245476ec823355125fcb95decf41fd9784e807d7bd0d09f0a79c50b') + +prepare() { + cd $_hkgname-$pkgver + sed -i 's/< *2.14/<3/' $_hkgname.cabal + sed -i '/instance Arbitrary a => Arbitrary (Tree a) where/,+13d' test/Algebra/Graph/Test/Arbitrary.hs +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +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 +}
[arch-commits] Commit in haskell-algebraic-graphs/repos (2 files)
Date: Friday, December 25, 2020 @ 07:32:28 Author: felixonmars Revision: 789690 archrelease: copy trunk to community-staging-x86_64 Added: haskell-algebraic-graphs/repos/community-staging-x86_64/ haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 789689, haskell-algebraic-graphs/trunk/PKGBUILD) --+ PKGBUILD | 51 +++ 1 file changed, 51 insertions(+) Copied: haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 789689, haskell-algebraic-graphs/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-25 07:32:28 UTC (rev 789690) @@ -0,0 +1,51 @@ +# Maintainer: Felix Yan + +_hkgname=algebraic-graphs +pkgname=haskell-algebraic-graphs +pkgver=0.5 +pkgrel=32 +pkgdesc="A library for algebraic graph construction and transformation" +url="https://github.com/snowleopard/alga; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc' 'haskell-extra' 'haskell-inspection-testing' 'haskell-quickcheck') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha256sums=('89b9fecf8245476ec823355125fcb95decf41fd9784e807d7bd0d09f0a79c50b') + +prepare() { + cd $_hkgname-$pkgver + sed -i 's/< *2.14/<3/' $_hkgname.cabal + sed -i '/instance Arbitrary a => Arbitrary (Tree a) where/,+13d' test/Algebra/Graph/Test/Arbitrary.hs +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +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 +}
[arch-commits] Commit in haskell-algebraic-graphs/repos (2 files)
Date: Thursday, December 24, 2020 @ 06:43:13 Author: felixonmars Revision: 786606 archrelease: copy trunk to community-staging-x86_64 Added: haskell-algebraic-graphs/repos/community-staging-x86_64/ haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 786605, haskell-algebraic-graphs/trunk/PKGBUILD) --+ PKGBUILD | 51 +++ 1 file changed, 51 insertions(+) Copied: haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 786605, haskell-algebraic-graphs/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-24 06:43:13 UTC (rev 786606) @@ -0,0 +1,51 @@ +# Maintainer: Felix Yan + +_hkgname=algebraic-graphs +pkgname=haskell-algebraic-graphs +pkgver=0.5 +pkgrel=31 +pkgdesc="A library for algebraic graph construction and transformation" +url="https://github.com/snowleopard/alga; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc' 'haskell-extra' 'haskell-inspection-testing' 'haskell-quickcheck') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha256sums=('89b9fecf8245476ec823355125fcb95decf41fd9784e807d7bd0d09f0a79c50b') + +prepare() { + cd $_hkgname-$pkgver + sed -i 's/< *2.14/<3/' $_hkgname.cabal + sed -i '/instance Arbitrary a => Arbitrary (Tree a) where/,+13d' test/Algebra/Graph/Test/Arbitrary.hs +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +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 +}
[arch-commits] Commit in haskell-algebraic-graphs/repos (2 files)
Date: Wednesday, December 23, 2020 @ 18:54:49 Author: felixonmars Revision: 785086 archrelease: copy trunk to community-staging-x86_64 Added: haskell-algebraic-graphs/repos/community-staging-x86_64/ haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 785085, haskell-algebraic-graphs/trunk/PKGBUILD) --+ PKGBUILD | 51 +++ 1 file changed, 51 insertions(+) Copied: haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 785085, haskell-algebraic-graphs/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-23 18:54:49 UTC (rev 785086) @@ -0,0 +1,51 @@ +# Maintainer: Felix Yan + +_hkgname=algebraic-graphs +pkgname=haskell-algebraic-graphs +pkgver=0.5 +pkgrel=30 +pkgdesc="A library for algebraic graph construction and transformation" +url="https://github.com/snowleopard/alga; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc' 'haskell-extra' 'haskell-inspection-testing' 'haskell-quickcheck') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha256sums=('89b9fecf8245476ec823355125fcb95decf41fd9784e807d7bd0d09f0a79c50b') + +prepare() { + cd $_hkgname-$pkgver + sed -i 's/< *2.14/<3/' $_hkgname.cabal + sed -i '/instance Arbitrary a => Arbitrary (Tree a) where/,+13d' test/Algebra/Graph/Test/Arbitrary.hs +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +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 +}
[arch-commits] Commit in haskell-algebraic-graphs/repos (2 files)
Date: Wednesday, December 23, 2020 @ 04:42:03 Author: felixonmars Revision: 783621 archrelease: copy trunk to community-staging-x86_64 Added: haskell-algebraic-graphs/repos/community-staging-x86_64/ haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 783620, haskell-algebraic-graphs/trunk/PKGBUILD) --+ PKGBUILD | 51 +++ 1 file changed, 51 insertions(+) Copied: haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 783620, haskell-algebraic-graphs/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-23 04:42:03 UTC (rev 783621) @@ -0,0 +1,51 @@ +# Maintainer: Felix Yan + +_hkgname=algebraic-graphs +pkgname=haskell-algebraic-graphs +pkgver=0.5 +pkgrel=29 +pkgdesc="A library for algebraic graph construction and transformation" +url="https://github.com/snowleopard/alga; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc' 'haskell-extra' 'haskell-inspection-testing' 'haskell-quickcheck') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha256sums=('89b9fecf8245476ec823355125fcb95decf41fd9784e807d7bd0d09f0a79c50b') + +prepare() { + cd $_hkgname-$pkgver + sed -i 's/< *2.14/<3/' $_hkgname.cabal + sed -i '/instance Arbitrary a => Arbitrary (Tree a) where/,+13d' test/Algebra/Graph/Test/Arbitrary.hs +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +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 +}
[arch-commits] Commit in haskell-algebraic-graphs/repos (2 files)
Date: Monday, December 21, 2020 @ 19:04:18 Author: felixonmars Revision: 781408 archrelease: copy trunk to community-staging-x86_64 Added: haskell-algebraic-graphs/repos/community-staging-x86_64/ haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 781407, haskell-algebraic-graphs/trunk/PKGBUILD) --+ PKGBUILD | 51 +++ 1 file changed, 51 insertions(+) Copied: haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 781407, haskell-algebraic-graphs/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-21 19:04:18 UTC (rev 781408) @@ -0,0 +1,51 @@ +# Maintainer: Felix Yan + +_hkgname=algebraic-graphs +pkgname=haskell-algebraic-graphs +pkgver=0.5 +pkgrel=28 +pkgdesc="A library for algebraic graph construction and transformation" +url="https://github.com/snowleopard/alga; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc' 'haskell-extra' 'haskell-inspection-testing' 'haskell-quickcheck') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha256sums=('89b9fecf8245476ec823355125fcb95decf41fd9784e807d7bd0d09f0a79c50b') + +prepare() { + cd $_hkgname-$pkgver + sed -i 's/< *2.14/<3/' $_hkgname.cabal + sed -i '/instance Arbitrary a => Arbitrary (Tree a) where/,+13d' test/Algebra/Graph/Test/Arbitrary.hs +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +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 +}
[arch-commits] Commit in haskell-algebraic-graphs/repos (2 files)
Date: Thursday, December 17, 2020 @ 21:59:46 Author: felixonmars Revision: 778161 archrelease: copy trunk to community-staging-x86_64 Added: haskell-algebraic-graphs/repos/community-staging-x86_64/ haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 778160, haskell-algebraic-graphs/trunk/PKGBUILD) --+ PKGBUILD | 51 +++ 1 file changed, 51 insertions(+) Copied: haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 778160, haskell-algebraic-graphs/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-17 21:59:46 UTC (rev 778161) @@ -0,0 +1,51 @@ +# Maintainer: Felix Yan + +_hkgname=algebraic-graphs +pkgname=haskell-algebraic-graphs +pkgver=0.5 +pkgrel=27 +pkgdesc="A library for algebraic graph construction and transformation" +url="https://github.com/snowleopard/alga; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc' 'haskell-extra' 'haskell-inspection-testing' 'haskell-quickcheck') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha256sums=('89b9fecf8245476ec823355125fcb95decf41fd9784e807d7bd0d09f0a79c50b') + +prepare() { + cd $_hkgname-$pkgver + sed -i 's/< *2.14/<3/' $_hkgname.cabal + sed -i '/instance Arbitrary a => Arbitrary (Tree a) where/,+13d' test/Algebra/Graph/Test/Arbitrary.hs +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +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 +}
[arch-commits] Commit in haskell-algebraic-graphs/repos (2 files)
Date: Sunday, December 13, 2020 @ 15:07:36 Author: felixonmars Revision: 774406 archrelease: copy trunk to community-staging-x86_64 Added: haskell-algebraic-graphs/repos/community-staging-x86_64/ haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 774405, haskell-algebraic-graphs/trunk/PKGBUILD) --+ PKGBUILD | 51 +++ 1 file changed, 51 insertions(+) Copied: haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 774405, haskell-algebraic-graphs/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-13 15:07:36 UTC (rev 774406) @@ -0,0 +1,51 @@ +# Maintainer: Felix Yan + +_hkgname=algebraic-graphs +pkgname=haskell-algebraic-graphs +pkgver=0.5 +pkgrel=26 +pkgdesc="A library for algebraic graph construction and transformation" +url="https://github.com/snowleopard/alga; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc' 'haskell-extra' 'haskell-inspection-testing' 'haskell-quickcheck') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha256sums=('89b9fecf8245476ec823355125fcb95decf41fd9784e807d7bd0d09f0a79c50b') + +prepare() { + cd $_hkgname-$pkgver + sed -i 's/< *2.14/<3/' $_hkgname.cabal + sed -i '/instance Arbitrary a => Arbitrary (Tree a) where/,+13d' test/Algebra/Graph/Test/Arbitrary.hs +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +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 +}
[arch-commits] Commit in haskell-algebraic-graphs/repos (2 files)
Date: Tuesday, December 8, 2020 @ 19:33:09 Author: felixonmars Revision: 772037 archrelease: copy trunk to community-staging-x86_64 Added: haskell-algebraic-graphs/repos/community-staging-x86_64/ haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 772036, haskell-algebraic-graphs/trunk/PKGBUILD) --+ PKGBUILD | 51 +++ 1 file changed, 51 insertions(+) Copied: haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 772036, haskell-algebraic-graphs/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-08 19:33:09 UTC (rev 772037) @@ -0,0 +1,51 @@ +# Maintainer: Felix Yan + +_hkgname=algebraic-graphs +pkgname=haskell-algebraic-graphs +pkgver=0.5 +pkgrel=25 +pkgdesc="A library for algebraic graph construction and transformation" +url="https://github.com/snowleopard/alga; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc' 'haskell-extra' 'haskell-inspection-testing' 'haskell-quickcheck') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha256sums=('89b9fecf8245476ec823355125fcb95decf41fd9784e807d7bd0d09f0a79c50b') + +prepare() { + cd $_hkgname-$pkgver + sed -i 's/< *2.14/<3/' $_hkgname.cabal + sed -i '/instance Arbitrary a => Arbitrary (Tree a) where/,+13d' test/Algebra/Graph/Test/Arbitrary.hs +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +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 +}
[arch-commits] Commit in haskell-algebraic-graphs/repos (2 files)
Date: Friday, December 4, 2020 @ 23:02:15 Author: felixonmars Revision: 770210 archrelease: copy trunk to community-staging-x86_64 Added: haskell-algebraic-graphs/repos/community-staging-x86_64/ haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 770209, haskell-algebraic-graphs/trunk/PKGBUILD) --+ PKGBUILD | 51 +++ 1 file changed, 51 insertions(+) Copied: haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 770209, haskell-algebraic-graphs/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-04 23:02:15 UTC (rev 770210) @@ -0,0 +1,51 @@ +# Maintainer: Felix Yan + +_hkgname=algebraic-graphs +pkgname=haskell-algebraic-graphs +pkgver=0.5 +pkgrel=24 +pkgdesc="A library for algebraic graph construction and transformation" +url="https://github.com/snowleopard/alga; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc' 'haskell-extra' 'haskell-inspection-testing' 'haskell-quickcheck') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha256sums=('89b9fecf8245476ec823355125fcb95decf41fd9784e807d7bd0d09f0a79c50b') + +prepare() { + cd $_hkgname-$pkgver + sed -i 's/< *2.14/<3/' $_hkgname.cabal + sed -i '/instance Arbitrary a => Arbitrary (Tree a) where/,+13d' test/Algebra/Graph/Test/Arbitrary.hs +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +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 +}
[arch-commits] Commit in haskell-algebraic-graphs/repos (2 files)
Date: Saturday, November 28, 2020 @ 02:00:40 Author: felixonmars Revision: 764961 archrelease: copy trunk to community-staging-x86_64 Added: haskell-algebraic-graphs/repos/community-staging-x86_64/ haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 764960, haskell-algebraic-graphs/trunk/PKGBUILD) --+ PKGBUILD | 51 +++ 1 file changed, 51 insertions(+) Copied: haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 764960, haskell-algebraic-graphs/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-11-28 02:00:40 UTC (rev 764961) @@ -0,0 +1,51 @@ +# Maintainer: Felix Yan + +_hkgname=algebraic-graphs +pkgname=haskell-algebraic-graphs +pkgver=0.5 +pkgrel=23 +pkgdesc="A library for algebraic graph construction and transformation" +url="https://github.com/snowleopard/alga; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc' 'haskell-extra' 'haskell-inspection-testing' 'haskell-quickcheck') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha256sums=('89b9fecf8245476ec823355125fcb95decf41fd9784e807d7bd0d09f0a79c50b') + +prepare() { + cd $_hkgname-$pkgver + sed -i 's/< *2.14/<3/' $_hkgname.cabal + sed -i '/instance Arbitrary a => Arbitrary (Tree a) where/,+13d' test/Algebra/Graph/Test/Arbitrary.hs +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +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 +}
[arch-commits] Commit in haskell-algebraic-graphs/repos (2 files)
Date: Sunday, November 22, 2020 @ 19:40:32 Author: felixonmars Revision: 759471 archrelease: copy trunk to community-staging-x86_64 Added: haskell-algebraic-graphs/repos/community-staging-x86_64/ haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 759470, haskell-algebraic-graphs/trunk/PKGBUILD) --+ PKGBUILD | 51 +++ 1 file changed, 51 insertions(+) Copied: haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 759470, haskell-algebraic-graphs/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-11-22 19:40:32 UTC (rev 759471) @@ -0,0 +1,51 @@ +# Maintainer: Felix Yan + +_hkgname=algebraic-graphs +pkgname=haskell-algebraic-graphs +pkgver=0.5 +pkgrel=22 +pkgdesc="A library for algebraic graph construction and transformation" +url="https://github.com/snowleopard/alga; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc' 'haskell-extra' 'haskell-inspection-testing' 'haskell-quickcheck') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha256sums=('89b9fecf8245476ec823355125fcb95decf41fd9784e807d7bd0d09f0a79c50b') + +prepare() { + cd $_hkgname-$pkgver + sed -i 's/< *2.14/<3/' $_hkgname.cabal + sed -i '/instance Arbitrary a => Arbitrary (Tree a) where/,+13d' test/Algebra/Graph/Test/Arbitrary.hs +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +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 +}
[arch-commits] Commit in haskell-algebraic-graphs/repos (2 files)
Date: Monday, November 16, 2020 @ 19:42:05 Author: felixonmars Revision: 755535 archrelease: copy trunk to community-staging-x86_64 Added: haskell-algebraic-graphs/repos/community-staging-x86_64/ haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 755534, haskell-algebraic-graphs/trunk/PKGBUILD) --+ PKGBUILD | 51 +++ 1 file changed, 51 insertions(+) Copied: haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 755534, haskell-algebraic-graphs/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-11-16 19:42:05 UTC (rev 755535) @@ -0,0 +1,51 @@ +# Maintainer: Felix Yan + +_hkgname=algebraic-graphs +pkgname=haskell-algebraic-graphs +pkgver=0.5 +pkgrel=21 +pkgdesc="A library for algebraic graph construction and transformation" +url="https://github.com/snowleopard/alga; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc' 'haskell-extra' 'haskell-inspection-testing' 'haskell-quickcheck') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha256sums=('89b9fecf8245476ec823355125fcb95decf41fd9784e807d7bd0d09f0a79c50b') + +prepare() { + cd $_hkgname-$pkgver + sed -i 's/< *2.14/<3/' $_hkgname.cabal + sed -i '/instance Arbitrary a => Arbitrary (Tree a) where/,+13d' test/Algebra/Graph/Test/Arbitrary.hs +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +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 +}
[arch-commits] Commit in haskell-algebraic-graphs/repos (2 files)
Date: Saturday, November 7, 2020 @ 13:30:40 Author: felixonmars Revision: 745743 archrelease: copy trunk to community-staging-x86_64 Added: haskell-algebraic-graphs/repos/community-staging-x86_64/ haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 745742, haskell-algebraic-graphs/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 745742, haskell-algebraic-graphs/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-11-07 13:30:40 UTC (rev 745743) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=algebraic-graphs +pkgname=haskell-algebraic-graphs +pkgver=0.5 +pkgrel=20 +pkgdesc="A library for algebraic graph construction and transformation" +url="https://github.com/snowleopard/alga; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc' 'haskell-extra' 'haskell-inspection-testing' 'haskell-quickcheck') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha256sums=('89b9fecf8245476ec823355125fcb95decf41fd9784e807d7bd0d09f0a79c50b') + +prepare() { + cd $_hkgname-$pkgver + sed -i 's/< *2.14/<3/' $_hkgname.cabal +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +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 +}
[arch-commits] Commit in haskell-algebraic-graphs/repos (2 files)
Date: Friday, November 6, 2020 @ 11:57:31 Author: felixonmars Revision: 744073 archrelease: copy trunk to community-staging-x86_64 Added: haskell-algebraic-graphs/repos/community-staging-x86_64/ haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 744072, haskell-algebraic-graphs/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 744072, haskell-algebraic-graphs/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-11-06 11:57:31 UTC (rev 744073) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=algebraic-graphs +pkgname=haskell-algebraic-graphs +pkgver=0.5 +pkgrel=19 +pkgdesc="A library for algebraic graph construction and transformation" +url="https://github.com/snowleopard/alga; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc' 'haskell-extra' 'haskell-inspection-testing' 'haskell-quickcheck') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha256sums=('89b9fecf8245476ec823355125fcb95decf41fd9784e807d7bd0d09f0a79c50b') + +prepare() { + cd $_hkgname-$pkgver + sed -i 's/< *2.14/<3/' $_hkgname.cabal +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +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 +}
[arch-commits] Commit in haskell-algebraic-graphs/repos (2 files)
Date: Wednesday, November 4, 2020 @ 16:44:42 Author: felixonmars Revision: 742403 archrelease: copy trunk to community-staging-x86_64 Added: haskell-algebraic-graphs/repos/community-staging-x86_64/ haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 742402, haskell-algebraic-graphs/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 742402, haskell-algebraic-graphs/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-11-04 16:44:42 UTC (rev 742403) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=algebraic-graphs +pkgname=haskell-algebraic-graphs +pkgver=0.5 +pkgrel=18 +pkgdesc="A library for algebraic graph construction and transformation" +url="https://github.com/snowleopard/alga; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc' 'haskell-extra' 'haskell-inspection-testing' 'haskell-quickcheck') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha256sums=('89b9fecf8245476ec823355125fcb95decf41fd9784e807d7bd0d09f0a79c50b') + +prepare() { + cd $_hkgname-$pkgver + sed -i 's/< *2.14/<3/' $_hkgname.cabal +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +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 +}
[arch-commits] Commit in haskell-algebraic-graphs/repos (2 files)
Date: Wednesday, November 4, 2020 @ 13:17:49 Author: felixonmars Revision: 741999 archrelease: copy trunk to community-staging-x86_64 Added: haskell-algebraic-graphs/repos/community-staging-x86_64/ haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 741998, haskell-algebraic-graphs/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 741998, haskell-algebraic-graphs/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-11-04 13:17:49 UTC (rev 741999) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=algebraic-graphs +pkgname=haskell-algebraic-graphs +pkgver=0.5 +pkgrel=17 +pkgdesc="A library for algebraic graph construction and transformation" +url="https://github.com/snowleopard/alga; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc' 'haskell-extra' 'haskell-inspection-testing' 'haskell-quickcheck') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha256sums=('89b9fecf8245476ec823355125fcb95decf41fd9784e807d7bd0d09f0a79c50b') + +prepare() { + cd $_hkgname-$pkgver + sed -i 's/< *2.14/<3/' $_hkgname.cabal +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +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 +}
[arch-commits] Commit in haskell-algebraic-graphs/repos (2 files)
Date: Monday, November 2, 2020 @ 14:06:53 Author: felixonmars Revision: 739716 archrelease: copy trunk to community-staging-x86_64 Added: haskell-algebraic-graphs/repos/community-staging-x86_64/ haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 739715, haskell-algebraic-graphs/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 739715, haskell-algebraic-graphs/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-11-02 14:06:53 UTC (rev 739716) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=algebraic-graphs +pkgname=haskell-algebraic-graphs +pkgver=0.5 +pkgrel=16 +pkgdesc="A library for algebraic graph construction and transformation" +url="https://github.com/snowleopard/alga; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc' 'haskell-extra' 'haskell-inspection-testing' 'haskell-quickcheck') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha256sums=('89b9fecf8245476ec823355125fcb95decf41fd9784e807d7bd0d09f0a79c50b') + +prepare() { + cd $_hkgname-$pkgver + sed -i 's/< *2.14/<3/' $_hkgname.cabal +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +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 +}
[arch-commits] Commit in haskell-algebraic-graphs/repos (2 files)
Date: Saturday, October 31, 2020 @ 08:50:30 Author: felixonmars Revision: 737541 archrelease: copy trunk to community-staging-x86_64 Added: haskell-algebraic-graphs/repos/community-staging-x86_64/ haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 737540, haskell-algebraic-graphs/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 737540, haskell-algebraic-graphs/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-10-31 08:50:30 UTC (rev 737541) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=algebraic-graphs +pkgname=haskell-algebraic-graphs +pkgver=0.5 +pkgrel=15 +pkgdesc="A library for algebraic graph construction and transformation" +url="https://github.com/snowleopard/alga; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc' 'haskell-extra' 'haskell-inspection-testing' 'haskell-quickcheck') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha256sums=('89b9fecf8245476ec823355125fcb95decf41fd9784e807d7bd0d09f0a79c50b') + +prepare() { + cd $_hkgname-$pkgver + sed -i 's/< *2.14/<3/' $_hkgname.cabal +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +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 +}
[arch-commits] Commit in haskell-algebraic-graphs/repos (2 files)
Date: Tuesday, October 27, 2020 @ 20:08:22 Author: felixonmars Revision: 735026 archrelease: copy trunk to community-staging-x86_64 Added: haskell-algebraic-graphs/repos/community-staging-x86_64/ haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 735025, haskell-algebraic-graphs/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 735025, haskell-algebraic-graphs/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-10-27 20:08:22 UTC (rev 735026) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=algebraic-graphs +pkgname=haskell-algebraic-graphs +pkgver=0.5 +pkgrel=14 +pkgdesc="A library for algebraic graph construction and transformation" +url="https://github.com/snowleopard/alga; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc' 'haskell-extra' 'haskell-inspection-testing' 'haskell-quickcheck') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha256sums=('89b9fecf8245476ec823355125fcb95decf41fd9784e807d7bd0d09f0a79c50b') + +prepare() { + cd $_hkgname-$pkgver + sed -i 's/< *2.14/<3/' $_hkgname.cabal +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +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 +}
[arch-commits] Commit in haskell-algebraic-graphs/repos (2 files)
Date: Sunday, October 25, 2020 @ 12:00:19 Author: felixonmars Revision: 732524 archrelease: copy trunk to community-staging-x86_64 Added: haskell-algebraic-graphs/repos/community-staging-x86_64/ haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 732523, haskell-algebraic-graphs/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 732523, haskell-algebraic-graphs/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-10-25 12:00:19 UTC (rev 732524) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=algebraic-graphs +pkgname=haskell-algebraic-graphs +pkgver=0.5 +pkgrel=13 +pkgdesc="A library for algebraic graph construction and transformation" +url="https://github.com/snowleopard/alga; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc' 'haskell-extra' 'haskell-inspection-testing' 'haskell-quickcheck') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha256sums=('89b9fecf8245476ec823355125fcb95decf41fd9784e807d7bd0d09f0a79c50b') + +prepare() { + cd $_hkgname-$pkgver + sed -i 's/< *2.14/<3/' $_hkgname.cabal +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +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 +}
[arch-commits] Commit in haskell-algebraic-graphs/repos (2 files)
Date: Wednesday, October 21, 2020 @ 23:11:23 Author: felixonmars Revision: 728557 archrelease: copy trunk to community-staging-x86_64 Added: haskell-algebraic-graphs/repos/community-staging-x86_64/ haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 728556, haskell-algebraic-graphs/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 728556, haskell-algebraic-graphs/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-10-21 23:11:23 UTC (rev 728557) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=algebraic-graphs +pkgname=haskell-algebraic-graphs +pkgver=0.5 +pkgrel=12 +pkgdesc="A library for algebraic graph construction and transformation" +url="https://github.com/snowleopard/alga; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc' 'haskell-extra' 'haskell-inspection-testing' 'haskell-quickcheck') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha256sums=('89b9fecf8245476ec823355125fcb95decf41fd9784e807d7bd0d09f0a79c50b') + +prepare() { + cd $_hkgname-$pkgver + sed -i 's/< *2.14/<3/' $_hkgname.cabal +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +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 +}
[arch-commits] Commit in haskell-algebraic-graphs/repos (2 files)
Date: Saturday, October 17, 2020 @ 10:00:18 Author: felixonmars Revision: 725298 archrelease: copy trunk to community-staging-x86_64 Added: haskell-algebraic-graphs/repos/community-staging-x86_64/ haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 725297, haskell-algebraic-graphs/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 725297, haskell-algebraic-graphs/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-10-17 10:00:18 UTC (rev 725298) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=algebraic-graphs +pkgname=haskell-algebraic-graphs +pkgver=0.5 +pkgrel=11 +pkgdesc="A library for algebraic graph construction and transformation" +url="https://github.com/snowleopard/alga; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc' 'haskell-extra' 'haskell-inspection-testing' 'haskell-quickcheck') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha256sums=('89b9fecf8245476ec823355125fcb95decf41fd9784e807d7bd0d09f0a79c50b') + +prepare() { + cd $_hkgname-$pkgver + sed -i 's/< *2.14/<3/' $_hkgname.cabal +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +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 +}
[arch-commits] Commit in haskell-algebraic-graphs/repos (2 files)
Date: Friday, October 9, 2020 @ 17:16:39 Author: felixonmars Revision: 722535 archrelease: copy trunk to community-staging-x86_64 Added: haskell-algebraic-graphs/repos/community-staging-x86_64/ haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 722534, haskell-algebraic-graphs/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 722534, haskell-algebraic-graphs/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-10-09 17:16:39 UTC (rev 722535) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=algebraic-graphs +pkgname=haskell-algebraic-graphs +pkgver=0.5 +pkgrel=10 +pkgdesc="A library for algebraic graph construction and transformation" +url="https://github.com/snowleopard/alga; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc' 'haskell-extra' 'haskell-inspection-testing' 'haskell-quickcheck') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha256sums=('89b9fecf8245476ec823355125fcb95decf41fd9784e807d7bd0d09f0a79c50b') + +prepare() { + cd $_hkgname-$pkgver + sed -i 's/< *2.14/<3/' $_hkgname.cabal +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +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 +}
[arch-commits] Commit in haskell-algebraic-graphs/repos (2 files)
Date: Wednesday, October 7, 2020 @ 10:36:25 Author: felixonmars Revision: 720270 archrelease: copy trunk to community-staging-x86_64 Added: haskell-algebraic-graphs/repos/community-staging-x86_64/ haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 720269, haskell-algebraic-graphs/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 720269, haskell-algebraic-graphs/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-10-07 10:36:25 UTC (rev 720270) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=algebraic-graphs +pkgname=haskell-algebraic-graphs +pkgver=0.5 +pkgrel=9 +pkgdesc="A library for algebraic graph construction and transformation" +url="https://github.com/snowleopard/alga; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc' 'haskell-extra' 'haskell-inspection-testing' 'haskell-quickcheck') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha256sums=('89b9fecf8245476ec823355125fcb95decf41fd9784e807d7bd0d09f0a79c50b') + +prepare() { + cd $_hkgname-$pkgver + sed -i 's/< *2.14/<3/' $_hkgname.cabal +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +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 +}
[arch-commits] Commit in haskell-algebraic-graphs/repos (2 files)
Date: Sunday, October 4, 2020 @ 07:08:52 Author: felixonmars Revision: 717282 archrelease: copy trunk to community-staging-x86_64 Added: haskell-algebraic-graphs/repos/community-staging-x86_64/ haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 717281, haskell-algebraic-graphs/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 717281, haskell-algebraic-graphs/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-10-04 07:08:52 UTC (rev 717282) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=algebraic-graphs +pkgname=haskell-algebraic-graphs +pkgver=0.5 +pkgrel=8 +pkgdesc="A library for algebraic graph construction and transformation" +url="https://github.com/snowleopard/alga; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc' 'haskell-extra' 'haskell-inspection-testing' 'haskell-quickcheck') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha256sums=('89b9fecf8245476ec823355125fcb95decf41fd9784e807d7bd0d09f0a79c50b') + +prepare() { + cd $_hkgname-$pkgver + sed -i 's/< *2.14/<3/' $_hkgname.cabal +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +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 +}
[arch-commits] Commit in haskell-algebraic-graphs/repos (2 files)
Date: Friday, October 2, 2020 @ 06:48:01 Author: felixonmars Revision: 715038 archrelease: copy trunk to community-staging-x86_64 Added: haskell-algebraic-graphs/repos/community-staging-x86_64/ haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 715037, haskell-algebraic-graphs/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 715037, haskell-algebraic-graphs/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-10-02 06:48:01 UTC (rev 715038) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=algebraic-graphs +pkgname=haskell-algebraic-graphs +pkgver=0.5 +pkgrel=7 +pkgdesc="A library for algebraic graph construction and transformation" +url="https://github.com/snowleopard/alga; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc' 'haskell-extra' 'haskell-inspection-testing' 'haskell-quickcheck') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha256sums=('89b9fecf8245476ec823355125fcb95decf41fd9784e807d7bd0d09f0a79c50b') + +prepare() { + cd $_hkgname-$pkgver + sed -i 's/< *2.14/<3/' $_hkgname.cabal +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +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 +}
[arch-commits] Commit in haskell-algebraic-graphs/repos (2 files)
Date: Thursday, September 17, 2020 @ 21:33:19 Author: felixonmars Revision: 709414 archrelease: copy trunk to community-staging-x86_64 Added: haskell-algebraic-graphs/repos/community-staging-x86_64/ haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 709413, haskell-algebraic-graphs/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 709413, haskell-algebraic-graphs/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-09-17 21:33:19 UTC (rev 709414) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=algebraic-graphs +pkgname=haskell-algebraic-graphs +pkgver=0.5 +pkgrel=6 +pkgdesc="A library for algebraic graph construction and transformation" +url="https://github.com/snowleopard/alga; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc' 'haskell-extra' 'haskell-inspection-testing' 'haskell-quickcheck') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha256sums=('89b9fecf8245476ec823355125fcb95decf41fd9784e807d7bd0d09f0a79c50b') + +prepare() { + cd $_hkgname-$pkgver + sed -i 's/< *2.14/<3/' $_hkgname.cabal +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +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 +}
[arch-commits] Commit in haskell-algebraic-graphs/repos (2 files)
Date: Wednesday, September 16, 2020 @ 15:23:02 Author: felixonmars Revision: 708098 archrelease: copy trunk to community-staging-x86_64 Added: haskell-algebraic-graphs/repos/community-staging-x86_64/ haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 708097, haskell-algebraic-graphs/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 708097, haskell-algebraic-graphs/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-09-16 15:23:02 UTC (rev 708098) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=algebraic-graphs +pkgname=haskell-algebraic-graphs +pkgver=0.5 +pkgrel=5 +pkgdesc="A library for algebraic graph construction and transformation" +url="https://github.com/snowleopard/alga; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc' 'haskell-extra' 'haskell-inspection-testing' 'haskell-quickcheck') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha256sums=('89b9fecf8245476ec823355125fcb95decf41fd9784e807d7bd0d09f0a79c50b') + +prepare() { + cd $_hkgname-$pkgver + sed -i 's/< *2.14/<3/' $_hkgname.cabal +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +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 +}
[arch-commits] Commit in haskell-algebraic-graphs/repos (2 files)
Date: Monday, September 14, 2020 @ 21:31:41 Author: felixonmars Revision: 706705 archrelease: copy trunk to community-staging-x86_64 Added: haskell-algebraic-graphs/repos/community-staging-x86_64/ haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 706704, haskell-algebraic-graphs/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 706704, haskell-algebraic-graphs/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-09-14 21:31:41 UTC (rev 706705) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=algebraic-graphs +pkgname=haskell-algebraic-graphs +pkgver=0.5 +pkgrel=4 +pkgdesc="A library for algebraic graph construction and transformation" +url="https://github.com/snowleopard/alga; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc' 'haskell-extra' 'haskell-inspection-testing' 'haskell-quickcheck') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha256sums=('89b9fecf8245476ec823355125fcb95decf41fd9784e807d7bd0d09f0a79c50b') + +prepare() { + cd $_hkgname-$pkgver + sed -i 's/< *2.14/<3/' $_hkgname.cabal +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +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 +}
[arch-commits] Commit in haskell-algebraic-graphs/repos (2 files)
Date: Saturday, September 12, 2020 @ 18:15:26 Author: felixonmars Revision: 704517 archrelease: copy trunk to community-staging-x86_64 Added: haskell-algebraic-graphs/repos/community-staging-x86_64/ haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 704516, haskell-algebraic-graphs/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 704516, haskell-algebraic-graphs/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-09-12 18:15:26 UTC (rev 704517) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=algebraic-graphs +pkgname=haskell-algebraic-graphs +pkgver=0.5 +pkgrel=3 +pkgdesc="A library for algebraic graph construction and transformation" +url="https://github.com/snowleopard/alga; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc' 'haskell-extra' 'haskell-inspection-testing' 'haskell-quickcheck') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha256sums=('89b9fecf8245476ec823355125fcb95decf41fd9784e807d7bd0d09f0a79c50b') + +prepare() { + cd $_hkgname-$pkgver + sed -i 's/< *2.14/<3/' $_hkgname.cabal +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +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 +}
[arch-commits] Commit in haskell-algebraic-graphs/repos (2 files)
Date: Thursday, September 10, 2020 @ 20:57:31 Author: felixonmars Revision: 702374 archrelease: copy trunk to community-staging-x86_64 Added: haskell-algebraic-graphs/repos/community-staging-x86_64/ haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 702373, haskell-algebraic-graphs/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from rev 702373, haskell-algebraic-graphs/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-09-10 20:57:31 UTC (rev 702374) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=algebraic-graphs +pkgname=haskell-algebraic-graphs +pkgver=0.5 +pkgrel=2 +pkgdesc="A library for algebraic graph construction and transformation" +url="https://github.com/snowleopard/alga; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc' 'haskell-extra' 'haskell-inspection-testing' 'haskell-quickcheck') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha256sums=('89b9fecf8245476ec823355125fcb95decf41fd9784e807d7bd0d09f0a79c50b') + +prepare() { + cd $_hkgname-$pkgver + sed -i 's/< *2.14/<3/' $_hkgname.cabal +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +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 +}
[arch-commits] Commit in haskell-algebraic-graphs/repos (2 files)
Date: Tuesday, September 8, 2020 @ 21:28:02 Author: felixonmars Revision: 701341 archrelease: copy trunk to community-x86_64 Added: haskell-algebraic-graphs/repos/community-x86_64/ haskell-algebraic-graphs/repos/community-x86_64/PKGBUILD (from rev 701340, haskell-algebraic-graphs/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-algebraic-graphs/repos/community-x86_64/PKGBUILD (from rev 701340, haskell-algebraic-graphs/trunk/PKGBUILD) === --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2020-09-08 21:28:02 UTC (rev 701341) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan + +_hkgname=algebraic-graphs +pkgname=haskell-algebraic-graphs +pkgver=0.5 +pkgrel=1 +pkgdesc="A library for algebraic graph construction and transformation" +url="https://github.com/snowleopard/alga; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc' 'haskell-extra' 'haskell-inspection-testing' 'haskell-quickcheck') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;) +sha256sums=('89b9fecf8245476ec823355125fcb95decf41fd9784e807d7bd0d09f0a79c50b') + +prepare() { + cd $_hkgname-$pkgver + sed -i 's/< *2.14/<3/' $_hkgname.cabal +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +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 +}