[arch-commits] Commit in arbtt/repos/community-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Sat Sep 3 14:34:25 UTC 2022
Date: Saturday, September 3, 2022 @ 14:34:25
Author: felixonmars
Revision: 1292533
archrelease: copy trunk to community-x86_64
Added:
arbtt/repos/community-x86_64/PKGBUILD
(from rev 1292532, arbtt/trunk/PKGBUILD)
Deleted:
arbtt/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 92 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 46 insertions(+), 46 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-09-03 14:34:02 UTC (rev 1292532)
+++ PKGBUILD 2022-09-03 14:34:25 UTC (rev 1292533)
@@ -1,46 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=arbtt
-pkgver=0.12
-pkgrel=9
-pkgdesc="Automatic Rule-Based Time Tracker"
-url="http://arbtt.nomeata.de/"
-license=("GPL2")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-x11' 'haskell-aeson' 'haskell-attoparsec' 'haskell-bytestring-progress'
- 'haskell-conduit' 'haskell-pcre-light' 'haskell-resourcet' 'haskell-strict'
- 'haskell-terminal-progress-bar' 'haskell-tz' 'haskell-unliftio-core' 'haskell-utf8-string')
-makedepends=('ghc' 'haskell-process-extras' 'haskell-tasty' 'haskell-tasty-golden'
- 'haskell-tasty-hunit')
-source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz")
-sha256sums=('681f6dafdec3830eed07f19193590e7f67d81a322ad0632ffc28dfc5fc9aaf2a')
-
-build() {
- cd $pkgname-$pkgver
-
- runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
- --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --datasubdir=haskell-arbtt --enable-tests \
- --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \
- --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
- --ghc-option='-pie'
-
- runhaskell Setup build $MAKEFLAGS
-}
-
-check() {
- cd $pkgname-$pkgver
- (
- for _exe in arbtt-{dump,import,recover,stats}; do
- PATH="$PWD/dist/build/$_exe:$PATH"
- done
- runhaskell Setup test --show-details=direct
- )
-}
-
-package() {
- cd $pkgname-$pkgver
-
- runhaskell Setup copy --destdir="$pkgdir"
- install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
- rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}
Copied: arbtt/repos/community-x86_64/PKGBUILD (from rev 1292532, arbtt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-09-03 14:34:25 UTC (rev 1292533)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=arbtt
+pkgver=0.12.0.1
+pkgrel=1
+pkgdesc="Automatic Rule-Based Time Tracker"
+url="http://arbtt.nomeata.de/"
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-x11' 'haskell-aeson' 'haskell-attoparsec' 'haskell-bytestring-progress'
+ 'haskell-conduit' 'haskell-pcre-light' 'haskell-resourcet' 'haskell-strict'
+ 'haskell-terminal-progress-bar' 'haskell-tz' 'haskell-unliftio-core' 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-process-extras' 'haskell-tasty' 'haskell-tasty-golden'
+ 'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('b81b5f67d6774c23eee8d662109179a7307eabbb44b666036512898dde524fa8')
+
+build() {
+ cd $pkgname-$pkgver
+
+ runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
+ --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --datasubdir=haskell-arbtt --enable-tests \
+ --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \
+ --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+ --ghc-option='-pie'
+
+ runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+ cd $pkgname-$pkgver
+ (
+ for _exe in arbtt-{dump,import,recover,stats}; do
+ PATH="$PWD/dist/build/$_exe:$PATH"
+ done
+ runhaskell Setup test --show-details=direct
+ )
+}
+
+package() {
+ cd $pkgname-$pkgver
+
+ runhaskell Setup copy --destdir="$pkgdir"
+ install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+ rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list