summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPig Fang2020-10-04 09:56:43 +0800
committerPig Fang2020-10-04 09:56:43 +0800
commit694c4e0ecc9662dea38d37e88e1416a665b12bb6 (patch)
tree64fd27efdcae7f3348bd56a41f8092f27d5e6b39
downloadaur-cabal-install-bin.tar.gz
3.2.0.0-1
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD21
2 files changed, 38 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..40df9306ca1
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = cabal-install-bin
+ pkgdesc = The command-line interface for Cabal and Hackage.
+ pkgver = 3.2.0.0
+ pkgrel = 1
+ url = https://www.haskell.org/cabal
+ arch = x86_64
+ license = BSD
+ depends = glibc>=2.12
+ provides = cabal-install
+ conflicts = cabal-install
+ source = https://downloads.haskell.org/~cabal/cabal-install-3.2.0.0/cabal-install-3.2.0.0-x86_64-unknown-linux.tar.xz
+ source = https://downloads.haskell.org/~cabal/cabal-install-3.2.0.0/cabal-install-3.2.0.0.tar.gz
+ sha256sums = 32d1f7cf1065c37cb0ef99a66adb405f409b9763f14c0926f5424ae408c738ac
+ sha256sums = SKIP
+
+pkgname = cabal-install-bin
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..956e8cbe761
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,21 @@
+# Maintainer: Pig Fang <g-plane@hotmail.com>
+pkgname=cabal-install-bin
+pkgver=3.2.0.0
+pkgrel=1
+pkgdesc="The command-line interface for Cabal and Hackage."
+arch=(x86_64)
+url=https://www.haskell.org/cabal
+license=(BSD)
+depends=('glibc>=2.12')
+provides=(cabal-install)
+conflicts=(cabal-install)
+source=(
+ https://downloads.haskell.org/~cabal/cabal-install-$pkgver/cabal-install-$pkgver-$arch-unknown-linux.tar.xz
+ https://downloads.haskell.org/~cabal/cabal-install-$pkgver/cabal-install-$pkgver.tar.gz
+)
+sha256sums=(32d1f7cf1065c37cb0ef99a66adb405f409b9763f14c0926f5424ae408c738ac SKIP)
+
+package() {
+ install -Dm755 "$srcdir/cabal" "$pkgdir/usr/bin/cabal"
+ install -Dm644 "$srcdir/cabal-install-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/cabal-install/LICENSE"
+}