summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorPig Fang2020-10-04 09:56:43 +0800
committerPig Fang2020-10-04 09:56:43 +0800
commit694c4e0ecc9662dea38d37e88e1416a665b12bb6 (patch)
tree64fd27efdcae7f3348bd56a41f8092f27d5e6b39 /PKGBUILD
downloadaur-cabal-install-bin.tar.gz
3.2.0.0-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD21
1 files changed, 21 insertions, 0 deletions
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"
+}