[arch-commits] Commit in haskell-infer-license/repos (2 files)

2020-12-28 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 00:41:43
  Author: felixonmars
Revision: 796293

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 796292, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
796292, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 00:41:43 UTC (rev 796293)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=92
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  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-infer-license/repos (2 files)

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 23:15:23
  Author: felixonmars
Revision: 793987

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 793986, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
793986, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-27 23:15:23 UTC (rev 793987)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=91
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  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-infer-license/repos (2 files)

2020-12-25 Thread Felix Yan via arch-commits
Date: Saturday, December 26, 2020 @ 02:05:29
  Author: felixonmars
Revision: 791542

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 791541, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
791541, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-26 02:05:29 UTC (rev 791542)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=90
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  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-infer-license/repos (2 files)

2020-12-24 Thread Felix Yan via arch-commits
Date: Thursday, December 24, 2020 @ 23:35:16
  Author: felixonmars
Revision: 789172

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 789171, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
789171, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-24 23:35:16 UTC (rev 789172)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=89
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  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-infer-license/repos (2 files)

2020-12-23 Thread Felix Yan via arch-commits
Date: Thursday, December 24, 2020 @ 02:50:11
  Author: felixonmars
Revision: 786064

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 786063, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
786063, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-24 02:50:11 UTC (rev 786064)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=88
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  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-infer-license/repos (2 files)

2020-12-22 Thread Felix Yan via arch-commits
Date: Wednesday, December 23, 2020 @ 03:26:11
  Author: felixonmars
Revision: 783491

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 783490, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
783490, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-23 03:26:11 UTC (rev 783491)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=87
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  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-infer-license/repos (2 files)

2020-12-21 Thread Felix Yan via arch-commits
Date: Monday, December 21, 2020 @ 13:59:48
  Author: felixonmars
Revision: 781086

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 781085, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
781085, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-21 13:59:48 UTC (rev 781086)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=86
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  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-infer-license/repos (2 files)

2020-12-17 Thread Felix Yan via arch-commits
Date: Thursday, December 17, 2020 @ 17:01:19
  Author: felixonmars
Revision: 27

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 26, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
26, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-17 17:01:19 UTC (rev 27)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=85
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  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-infer-license/repos (2 files)

2020-12-13 Thread Felix Yan via arch-commits
Date: Sunday, December 13, 2020 @ 09:32:27
  Author: felixonmars
Revision: 773951

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 773950, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
773950, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-13 09:32:27 UTC (rev 773951)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=84
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  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-infer-license/repos (2 files)

2020-11-27 Thread Felix Yan via arch-commits
Date: Friday, November 27, 2020 @ 13:58:55
  Author: felixonmars
Revision: 764220

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 764219, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
764219, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-27 13:58:55 UTC (rev 764220)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=83
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  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-infer-license/repos (2 files)

2020-11-22 Thread Felix Yan via arch-commits
Date: Sunday, November 22, 2020 @ 16:38:44
  Author: felixonmars
Revision: 759233

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 759232, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
759232, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-22 16:38:44 UTC (rev 759233)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=82
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  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-infer-license/repos (2 files)

2020-11-15 Thread Felix Yan via arch-commits
Date: Sunday, November 15, 2020 @ 23:28:54
  Author: felixonmars
Revision: 755001

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 755000, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
755000, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-15 23:28:54 UTC (rev 755001)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=81
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  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-infer-license/repos (2 files)

2020-11-07 Thread Felix Yan via arch-commits
Date: Saturday, November 7, 2020 @ 10:03:36
  Author: felixonmars
Revision: 745440

revert a partial db-move

Added:
  haskell-infer-license/repos/community-staging-x86_64/
Modified:
  haskell-infer-license/repos/community-x86_64/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: community-x86_64/PKGBUILD
===
--- community-x86_64/PKGBUILD   2020-11-07 10:03:35 UTC (rev 745439)
+++ community-x86_64/PKGBUILD   2020-11-07 10:03:36 UTC (rev 745440)
@@ -3,7 +3,7 @@
 _hkgname=infer-license
 pkgname=haskell-infer-license
 pkgver=0.2.0
-pkgrel=80
+pkgrel=79
 pkgdesc="Infer software license from a given license file"
 url="https://github.com/sol/infer-license;
 license=('MIT')


[arch-commits] Commit in haskell-infer-license/repos (2 files)

2020-11-05 Thread Felix Yan via arch-commits
Date: Friday, November 6, 2020 @ 00:17:21
  Author: felixonmars
Revision: 743789

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 743788, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
743788, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-06 00:17:21 UTC (rev 743789)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=80
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  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-infer-license/repos (2 files)

2020-11-02 Thread Felix Yan via arch-commits
Date: Monday, November 2, 2020 @ 12:02:52
  Author: felixonmars
Revision: 739526

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 739525, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
739525, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-02 12:02:52 UTC (rev 739526)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=79
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  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-infer-license/repos (2 files)

2020-10-30 Thread Felix Yan via arch-commits
Date: Friday, October 30, 2020 @ 17:46:02
  Author: felixonmars
Revision: 736843

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 736842, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
736842, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-30 17:46:02 UTC (rev 736843)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=78
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  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-infer-license/repos (2 files)

2020-10-27 Thread Felix Yan via arch-commits
Date: Tuesday, October 27, 2020 @ 18:27:12
  Author: felixonmars
Revision: 734738

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 734737, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
734737, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-27 18:27:12 UTC (rev 734738)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=77
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  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-infer-license/repos (2 files)

2020-10-24 Thread Felix Yan via arch-commits
Date: Sunday, October 25, 2020 @ 00:32:02
  Author: felixonmars
Revision: 732131

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 732130, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
732130, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-25 00:32:02 UTC (rev 732131)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=76
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  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-infer-license/repos (2 files)

2020-10-21 Thread Felix Yan via arch-commits
Date: Wednesday, October 21, 2020 @ 20:13:18
  Author: felixonmars
Revision: 728337

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 728336, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
728336, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-21 20:13:18 UTC (rev 728337)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=75
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  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-infer-license/repos (2 files)

2020-10-16 Thread Felix Yan via arch-commits
Date: Friday, October 16, 2020 @ 22:09:02
  Author: felixonmars
Revision: 725114

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 725113, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
725113, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-16 22:09:02 UTC (rev 725114)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=74
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  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-infer-license/repos (2 files)

2020-10-06 Thread Felix Yan via arch-commits
Date: Wednesday, October 7, 2020 @ 01:13:56
  Author: felixonmars
Revision: 720105

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 720104, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
720104, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-07 01:13:56 UTC (rev 720105)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=73
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  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-infer-license/repos (2 files)

2020-10-03 Thread Felix Yan via arch-commits
Date: Sunday, October 4, 2020 @ 00:21:01
  Author: felixonmars
Revision: 717119

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 717118, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
717118, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-04 00:21:01 UTC (rev 717119)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=72
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  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-infer-license/repos (2 files)

2020-10-01 Thread Felix Yan via arch-commits
Date: Friday, October 2, 2020 @ 00:58:50
  Author: felixonmars
Revision: 714849

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 714848, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
714848, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-02 00:58:50 UTC (rev 714849)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=71
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  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-infer-license/repos (2 files)

2020-09-17 Thread Felix Yan via arch-commits
Date: Thursday, September 17, 2020 @ 20:10:26
  Author: felixonmars
Revision: 709270

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 709269, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
709269, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-17 20:10:26 UTC (rev 709270)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=70
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  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-infer-license/repos (2 files)

2020-09-14 Thread Felix Yan via arch-commits
Date: Monday, September 14, 2020 @ 20:19:47
  Author: felixonmars
Revision: 706561

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 706560, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
706560, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-14 20:19:47 UTC (rev 706561)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=69
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  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-infer-license/repos (2 files)

2020-09-12 Thread Felix Yan via arch-commits
Date: Saturday, September 12, 2020 @ 16:58:34
  Author: felixonmars
Revision: 704373

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 704372, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
704372, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-12 16:58:34 UTC (rev 704373)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=68
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  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-infer-license/repos (2 files)

2020-09-10 Thread Felix Yan via arch-commits
Date: Thursday, September 10, 2020 @ 19:17:49
  Author: felixonmars
Revision: 702214

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 702213, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
702213, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-10 19:17:49 UTC (rev 702214)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=67
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  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-infer-license/repos (2 files)

2020-09-07 Thread Felix Yan via arch-commits
Date: Monday, September 7, 2020 @ 14:04:19
  Author: felixonmars
Revision: 699835

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 699834, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
699834, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-07 14:04:19 UTC (rev 699835)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=66
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  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-infer-license/repos (2 files)

2020-09-02 Thread Felix Yan via arch-commits
Date: Wednesday, September 2, 2020 @ 19:57:33
  Author: felixonmars
Revision: 696942

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 696941, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
696941, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-02 19:57:33 UTC (rev 696942)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=65
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  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-infer-license/repos (2 files)

2020-08-30 Thread Felix Yan via arch-commits
Date: Monday, August 31, 2020 @ 05:33:14
  Author: felixonmars
Revision: 693657

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 693656, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
693656, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-31 05:33:14 UTC (rev 693657)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=64
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  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-infer-license/repos (2 files)

2020-08-28 Thread Felix Yan via arch-commits
Date: Friday, August 28, 2020 @ 12:12:12
  Author: felixonmars
Revision: 690660

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 690659, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
690659, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-28 12:12:12 UTC (rev 690660)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=63
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  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-infer-license/repos (2 files)

2020-08-25 Thread Felix Yan via arch-commits
Date: Tuesday, August 25, 2020 @ 14:48:14
  Author: felixonmars
Revision: 688348

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 688347, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
688347, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-25 14:48:14 UTC (rev 688348)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=62
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  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-infer-license/repos (2 files)

2020-08-17 Thread Felix Yan via arch-commits
Date: Monday, August 17, 2020 @ 20:29:41
  Author: felixonmars
Revision: 683222

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 683221, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
683221, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-17 20:29:41 UTC (rev 683222)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=61
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  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-infer-license/repos (2 files)

2020-08-15 Thread Felix Yan via arch-commits
Date: Saturday, August 15, 2020 @ 22:42:35
  Author: felixonmars
Revision: 680227

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 680226, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
680226, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-15 22:42:35 UTC (rev 680227)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=60
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  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-infer-license/repos (2 files)

2020-08-13 Thread Felix Yan via arch-commits
Date: Thursday, August 13, 2020 @ 17:29:29
  Author: felixonmars
Revision: 677755

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 677754, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
677754, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-13 17:29:29 UTC (rev 677755)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=59
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  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-infer-license/repos (2 files)

2020-08-11 Thread Felix Yan via arch-commits
Date: Tuesday, August 11, 2020 @ 22:15:51
  Author: felixonmars
Revision: 675026

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 675025, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
675025, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-11 22:15:51 UTC (rev 675026)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=58
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  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-infer-license/repos (2 files)

2020-07-31 Thread Felix Yan via arch-commits
Date: Friday, July 31, 2020 @ 23:52:43
  Author: felixonmars
Revision: 666793

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 666792, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
666792, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-07-31 23:52:43 UTC (rev 666793)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=57
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  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-infer-license/repos (2 files)

2020-06-28 Thread Felix Yan via arch-commits
Date: Sunday, June 28, 2020 @ 23:23:40
  Author: felixonmars
Revision: 655648

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 655647, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
655647, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-28 23:23:40 UTC (rev 655648)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=56
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  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-infer-license/repos (2 files)

2020-06-23 Thread Felix Yan via arch-commits
Date: Tuesday, June 23, 2020 @ 22:57:22
  Author: felixonmars
Revision: 651842

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 651841, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
651841, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-23 22:57:22 UTC (rev 651842)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=55
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  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-infer-license/repos (2 files)

2020-06-13 Thread Felix Yan via arch-commits
Date: Saturday, June 13, 2020 @ 23:35:12
  Author: felixonmars
Revision: 643435

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 643434, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
643434, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-13 23:35:12 UTC (rev 643435)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=54
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  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-infer-license/repos (2 files)

2020-05-23 Thread Felix Yan via arch-commits
Date: Saturday, May 23, 2020 @ 16:48:57
  Author: felixonmars
Revision: 632231

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 632230, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
632230, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-05-23 16:48:57 UTC (rev 632231)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=53
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  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-infer-license/repos (2 files)

2020-05-12 Thread Felix Yan via arch-commits
Date: Tuesday, May 12, 2020 @ 13:30:39
  Author: felixonmars
Revision: 626889

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 626888, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
626888, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-05-12 13:30:39 UTC (rev 626889)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=52
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  runhaskell Setup build
+  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-infer-license/repos (2 files)

2020-04-24 Thread Felix Yan via arch-commits
Date: Friday, April 24, 2020 @ 06:45:21
  Author: felixonmars
Revision: 618885

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 618884, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
618884, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-24 06:45:21 UTC (rev 618885)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=51
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  runhaskell Setup build
+  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-infer-license/repos (2 files)

2020-04-01 Thread Felix Yan via arch-commits
Date: Wednesday, April 1, 2020 @ 11:05:26
  Author: felixonmars
Revision: 608766

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 608765, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
608765, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-01 11:05:26 UTC (rev 608766)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=50
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  runhaskell Setup build
+  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-infer-license/repos (2 files)

2020-03-15 Thread Felix Yan via arch-commits
Date: Sunday, March 15, 2020 @ 15:47:29
  Author: felixonmars
Revision: 598284

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 598283, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
598283, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-03-15 15:47:29 UTC (rev 598284)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=49
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  runhaskell Setup build
+  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-infer-license/repos (2 files)

2020-03-01 Thread Felix Yan via arch-commits
Date: Sunday, March 1, 2020 @ 19:15:56
  Author: felixonmars
Revision: 588008

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 588007, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
588007, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-03-01 19:15:56 UTC (rev 588008)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=48
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  runhaskell Setup build
+  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-infer-license/repos (2 files)

2020-02-27 Thread Felix Yan via arch-commits
Date: Thursday, February 27, 2020 @ 15:51:43
  Author: felixonmars
Revision: 584311

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 584310, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
584310, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-27 15:51:43 UTC (rev 584311)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=47
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  runhaskell Setup build
+  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-infer-license/repos (2 files)

2020-02-25 Thread Felix Yan via arch-commits
Date: Tuesday, February 25, 2020 @ 17:35:53
  Author: felixonmars
Revision: 581676

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 581675, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
581675, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-25 17:35:53 UTC (rev 581676)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=46
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  runhaskell Setup build
+  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-infer-license/repos (2 files)

2020-02-16 Thread Felix Yan via arch-commits
Date: Sunday, February 16, 2020 @ 09:02:56
  Author: felixonmars
Revision: 572110

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 572109, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
572109, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-16 09:02:56 UTC (rev 572110)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=45
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  runhaskell Setup build
+  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-infer-license/repos (2 files)

2020-02-11 Thread Felix Yan via arch-commits
Date: Tuesday, February 11, 2020 @ 09:25:05
  Author: felixonmars
Revision: 566879

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 566878, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
566878, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-11 09:25:05 UTC (rev 566879)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=44
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  runhaskell Setup build
+  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-infer-license/repos (2 files)

2020-02-05 Thread Felix Yan via arch-commits
Date: Wednesday, February 5, 2020 @ 19:20:16
  Author: felixonmars
Revision: 563412

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 563411, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
563411, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-05 19:20:16 UTC (rev 563412)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=43
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  runhaskell Setup build
+  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-infer-license/repos (2 files)

2020-01-29 Thread Felix Yan via arch-commits
Date: Wednesday, January 29, 2020 @ 12:30:33
  Author: felixonmars
Revision: 558774

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 558773, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
558773, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-29 12:30:33 UTC (rev 558774)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=42
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  runhaskell Setup build
+  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-infer-license/repos (2 files)

2020-01-27 Thread Felix Yan via arch-commits
Date: Tuesday, January 28, 2020 @ 00:53:27
  Author: felixonmars
Revision: 556836

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 556835, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
556835, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-28 00:53:27 UTC (rev 556836)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=41
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  runhaskell Setup build
+  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-infer-license/repos (2 files)

2020-01-09 Thread Felix Yan via arch-commits
Date: Thursday, January 9, 2020 @ 16:07:13
  Author: felixonmars
Revision: 551299

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 551298, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
551298, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-09 16:07:13 UTC (rev 551299)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=40
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  runhaskell Setup build
+  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-infer-license/repos (2 files)

2020-01-04 Thread Felix Yan via arch-commits
Date: Saturday, January 4, 2020 @ 17:20:09
  Author: felixonmars
Revision: 548150

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 548149, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
548149, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-04 17:20:09 UTC (rev 548150)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=39
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  runhaskell Setup build
+  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-infer-license/repos (2 files)

2020-01-02 Thread Felix Yan via arch-commits
Date: Thursday, January 2, 2020 @ 15:57:49
  Author: felixonmars
Revision: 546289

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 546288, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
546288, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-02 15:57:49 UTC (rev 546289)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=38
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  runhaskell Setup build
+  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-infer-license/repos (2 files)

2019-12-30 Thread Felix Yan via arch-commits
Date: Monday, December 30, 2019 @ 10:36:53
  Author: felixonmars
Revision: 544367

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 544366, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
544366, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-12-30 10:36:53 UTC (rev 544367)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=37
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  runhaskell Setup build
+  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-infer-license/repos (2 files)

2019-12-25 Thread Felix Yan via arch-commits
Date: Wednesday, December 25, 2019 @ 11:51:13
  Author: felixonmars
Revision: 540865

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 540864, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
540864, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-12-25 11:51:13 UTC (rev 540865)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=36
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  runhaskell Setup build
+  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-infer-license/repos (2 files)

2019-12-23 Thread Felix Yan via arch-commits
Date: Monday, December 23, 2019 @ 15:22:21
  Author: felixonmars
Revision: 539302

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 539301, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
539301, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-12-23 15:22:21 UTC (rev 539302)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=35
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  runhaskell Setup build
+  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-infer-license/repos (2 files)

2019-09-02 Thread Felix Yan via arch-commits
Date: Monday, September 2, 2019 @ 06:38:27
  Author: felixonmars
Revision: 506654

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 506653, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
506653, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-09-02 06:38:27 UTC (rev 506654)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=34
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  runhaskell Setup build
+  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-infer-license/repos (2 files)

2019-08-26 Thread Felix Yan via arch-commits
Date: Monday, August 26, 2019 @ 19:28:32
  Author: felixonmars
Revision: 502183

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 502182, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
502182, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-08-26 19:28:32 UTC (rev 502183)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=33
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  runhaskell Setup build
+  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-infer-license/repos (2 files)

2019-07-31 Thread Felix Yan via arch-commits
Date: Wednesday, July 31, 2019 @ 18:47:27
  Author: felixonmars
Revision: 495854

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 495853, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
495853, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-07-31 18:47:27 UTC (rev 495854)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=32
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  runhaskell Setup build
+  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-infer-license/repos (2 files)

2019-07-27 Thread Felix Yan via arch-commits
Date: Saturday, July 27, 2019 @ 12:10:57
  Author: felixonmars
Revision: 493237

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 493236, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
493236, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-07-27 12:10:57 UTC (rev 493237)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=31
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  runhaskell Setup build
+  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-infer-license/repos (2 files)

2019-07-17 Thread Felix Yan via arch-commits
Date: Wednesday, July 17, 2019 @ 17:56:11
  Author: felixonmars
Revision: 490434

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 490433, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
490433, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-07-17 17:56:11 UTC (rev 490434)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=30
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  runhaskell Setup build
+  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-infer-license/repos (2 files)

2019-06-30 Thread Felix Yan via arch-commits
Date: Sunday, June 30, 2019 @ 17:33:18
  Author: felixonmars
Revision: 486439

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 486438, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
486438, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-06-30 17:33:18 UTC (rev 486439)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=29
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  runhaskell Setup build
+  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-infer-license/repos (2 files)

2019-06-09 Thread Felix Yan via arch-commits
Date: Sunday, June 9, 2019 @ 09:01:11
  Author: felixonmars
Revision: 478595

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 478594, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
478594, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-06-09 09:01:11 UTC (rev 478595)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=28
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  runhaskell Setup build
+  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-infer-license/repos (2 files)

2019-05-30 Thread Felix Yan via arch-commits
Date: Thursday, May 30, 2019 @ 15:28:10
  Author: felixonmars
Revision: 474719

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 474718, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
474718, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-05-30 15:28:10 UTC (rev 474719)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=27
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  runhaskell Setup build
+  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-infer-license/repos (2 files)

2019-05-28 Thread Felix Yan via arch-commits
Date: Tuesday, May 28, 2019 @ 23:16:24
  Author: felixonmars
Revision: 473280

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 473279, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
473279, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-05-28 23:16:24 UTC (rev 473280)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=26
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  runhaskell Setup build
+  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-infer-license/repos (2 files)

2019-05-27 Thread Felix Yan via arch-commits
Date: Monday, May 27, 2019 @ 17:31:15
  Author: felixonmars
Revision: 471725

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 471724, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
471724, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-05-27 17:31:15 UTC (rev 471725)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=25
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  runhaskell Setup build
+  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-infer-license/repos (2 files)

2019-05-12 Thread Felix Yan via arch-commits
Date: Sunday, May 12, 2019 @ 10:38:39
  Author: felixonmars
Revision: 466147

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 466146, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
466146, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-05-12 10:38:39 UTC (rev 466147)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=24
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  runhaskell Setup build
+  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-infer-license/repos (2 files)

2019-05-08 Thread Felix Yan via arch-commits
Date: Wednesday, May 8, 2019 @ 22:56:33
  Author: felixonmars
Revision: 463493

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 463492, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
463492, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-05-08 22:56:33 UTC (rev 463493)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=23
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  runhaskell Setup build
+  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-infer-license/repos (2 files)

2019-05-06 Thread Felix Yan via arch-commits
Date: Monday, May 6, 2019 @ 14:00:36
  Author: felixonmars
Revision: 460943

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 460942, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
460942, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-05-06 14:00:36 UTC (rev 460943)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=22
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  runhaskell Setup build
+  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-infer-license/repos (2 files)

2019-05-02 Thread Felix Yan via arch-commits
Date: Friday, May 3, 2019 @ 03:04:33
  Author: felixonmars
Revision: 458102

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 458101, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
458101, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-05-03 03:04:33 UTC (rev 458102)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=21
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  runhaskell Setup build
+  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-infer-license/repos (2 files)

2019-04-27 Thread Felix Yan via arch-commits
Date: Saturday, April 27, 2019 @ 13:29:08
  Author: felixonmars
Revision: 454715

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 454714, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
454714, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-04-27 13:29:08 UTC (rev 454715)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=20
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  runhaskell Setup build
+  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-infer-license/repos (2 files)

2019-04-03 Thread Felix Yan via arch-commits
Date: Thursday, April 4, 2019 @ 02:27:02
  Author: felixonmars
Revision: 448701

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 448700, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
448700, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-04-04 02:27:02 UTC (rev 448701)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=19
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  runhaskell Setup build
+  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-infer-license/repos (2 files)

2019-04-01 Thread Felix Yan via arch-commits
Date: Tuesday, April 2, 2019 @ 00:09:49
  Author: felixonmars
Revision: 447277

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 447276, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
447276, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-04-02 00:09:49 UTC (rev 447277)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=18
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  runhaskell Setup build
+  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-infer-license/repos (2 files)

2019-03-28 Thread Felix Yan via arch-commits
Date: Thursday, March 28, 2019 @ 13:29:18
  Author: felixonmars
Revision: 445315

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 445314, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
445314, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-03-28 13:29:18 UTC (rev 445315)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=17
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  runhaskell Setup build
+  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-infer-license/repos (2 files)

2019-03-26 Thread Felix Yan via arch-commits
Date: Tuesday, March 26, 2019 @ 23:07:00
  Author: felixonmars
Revision: 443851

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 443850, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
443850, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-03-26 23:07:00 UTC (rev 443851)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=16
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  runhaskell Setup build
+  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-infer-license/repos (2 files)

2019-03-10 Thread Felix Yan via arch-commits
Date: Sunday, March 10, 2019 @ 11:27:32
  Author: felixonmars
Revision: 439217

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 439216, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
439216, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-03-10 11:27:32 UTC (rev 439217)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=15
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  runhaskell Setup build
+  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-infer-license/repos (2 files)

2019-02-15 Thread Felix Yan via arch-commits
Date: Friday, February 15, 2019 @ 09:38:46
  Author: felixonmars
Revision: 432519

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 432518, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
432518, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-02-15 09:38:46 UTC (rev 432519)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=14
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  runhaskell Setup build
+  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-infer-license/repos (2 files)

2019-01-20 Thread Felix Yan via arch-commits
Date: Sunday, January 20, 2019 @ 22:45:37
  Author: felixonmars
Revision: 425737

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 425736, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
425736, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-01-20 22:45:37 UTC (rev 425737)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=13
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  runhaskell Setup build
+  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-infer-license/repos (2 files)

2018-12-10 Thread Felix Yan via arch-commits
Date: Monday, December 10, 2018 @ 10:29:32
  Author: felixonmars
Revision: 413994

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 413993, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
413993, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-12-10 10:29:32 UTC (rev 413994)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=12
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  runhaskell Setup build
+  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-infer-license/repos (2 files)

2018-12-08 Thread Felix Yan via arch-commits
Date: Saturday, December 8, 2018 @ 18:58:16
  Author: felixonmars
Revision: 412493

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 412492, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
412492, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-12-08 18:58:16 UTC (rev 412493)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=11
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  runhaskell Setup build
+  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-infer-license/repos (2 files)

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 08:59:39
  Author: felixonmars
Revision: 402512

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 402511, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
402511, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-11-07 08:59:39 UTC (rev 402512)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=10
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  runhaskell Setup build
+  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-infer-license/repos (2 files)

2018-10-31 Thread Felix Yan via arch-commits
Date: Wednesday, October 31, 2018 @ 09:14:41
  Author: felixonmars
Revision: 399844

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 399843, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
399843, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-10-31 09:14:41 UTC (rev 399844)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=9
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  runhaskell Setup build
+  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-infer-license/repos (2 files)

2018-10-18 Thread Felix Yan via arch-commits
Date: Friday, October 19, 2018 @ 03:44:33
  Author: felixonmars
Revision: 397004

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 397003, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
397003, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-10-19 03:44:33 UTC (rev 397004)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=8
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  runhaskell Setup build
+  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-infer-license/repos (2 files)

2018-10-15 Thread Felix Yan via arch-commits
Date: Monday, October 15, 2018 @ 19:31:21
  Author: felixonmars
Revision: 394288

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 394287, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
394287, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-10-15 19:31:21 UTC (rev 394288)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=7
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  runhaskell Setup build
+  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-infer-license/repos (2 files)

2018-10-11 Thread Felix Yan via arch-commits
Date: Thursday, October 11, 2018 @ 07:22:23
  Author: felixonmars
Revision: 392250

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 392249, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
392249, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-10-11 07:22:23 UTC (rev 392250)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=6
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  runhaskell Setup build
+  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-infer-license/repos (2 files)

2018-10-05 Thread Felix Yan via arch-commits
Date: Friday, October 5, 2018 @ 10:59:00
  Author: felixonmars
Revision: 389839

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 389838, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
389838, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-10-05 10:59:00 UTC (rev 389839)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=5
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  runhaskell Setup build
+  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-infer-license/repos (2 files)

2018-09-15 Thread Felix Yan via arch-commits
Date: Saturday, September 15, 2018 @ 06:03:27
  Author: felixonmars
Revision: 381146

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 381145, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
381145, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-09-15 06:03:27 UTC (rev 381146)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=4
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  runhaskell Setup build
+  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-infer-license/repos (2 files)

2018-09-05 Thread Felix Yan via arch-commits
Date: Wednesday, September 5, 2018 @ 22:55:34
  Author: felixonmars
Revision: 377184

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 377183, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   42 ++
 1 file changed, 42 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
377183, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-09-05 22:55:34 UTC (rev 377184)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=3
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  runhaskell Setup build
+  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-infer-license/repos (2 files)

2018-07-28 Thread Felix Yan via arch-commits
Date: Sunday, July 29, 2018 @ 03:20:01
  Author: felixonmars
Revision: 363930

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-infer-license/repos/community-staging-x86_64/
  haskell-infer-license/repos/community-staging-x86_64/PKGBUILD
(from rev 363929, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   42 ++
 1 file changed, 42 insertions(+)

Copied: haskell-infer-license/repos/community-staging-x86_64/PKGBUILD (from rev 
363929, haskell-infer-license/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-29 03:20:01 UTC (rev 363930)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=2
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  runhaskell Setup build
+  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-infer-license/repos (2 files)

2018-07-22 Thread Felix Yan via arch-commits
Date: Sunday, July 22, 2018 @ 06:24:13
  Author: felixonmars
Revision: 362762

archrelease: copy trunk to community-x86_64

Added:
  haskell-infer-license/repos/community-x86_64/
  haskell-infer-license/repos/community-x86_64/PKGBUILD
(from rev 362761, haskell-infer-license/trunk/PKGBUILD)

--+
 PKGBUILD |   42 ++
 1 file changed, 42 insertions(+)

Copied: haskell-infer-license/repos/community-x86_64/PKGBUILD (from rev 362761, 
haskell-infer-license/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2018-07-22 06:24:13 UTC (rev 362762)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=infer-license
+pkgname=haskell-infer-license
+pkgver=0.2.0
+pkgrel=1
+pkgdesc="Infer software license from a given license file"
+url="https://github.com/sol/infer-license;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text-metrics')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45')
+
+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
+  runhaskell Setup build
+  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"
+}