summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Csiky (csicar)2019-08-11 19:55:51 +0200
committerCarsten Csiky (csicar)2019-08-11 19:55:51 +0200
commit90c3a9da9e43e97af6ed2b1087878a6c418ce83a (patch)
treef72f28b50b3ad9fe6e56167de07ce20f3a08449c
downloadaur-90c3a9da9e43e97af6ed2b1087878a6c418ce83a.tar.gz
initial
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD28
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b89d4f1f960
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = pscpp-git
+ pkgdesc = PureScript C++ Compiler
+ pkgver = 0.0.1
+ pkgrel = 1
+ url = https://github.com/andyarvanitis/purescript-native
+ arch = any
+ license = BSD3
+ makedepends = stack
+ depends = gcc
+ source = https://github.com/andyarvanitis/purescript-native/archive/master.zip
+ sha256sums = SKIP
+
+pkgname = pscpp-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..0653d966667
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: csicar <aur@csicar.de>
+pkgname=pscpp-git
+pkgver=0.0.1
+pkgrel=1
+pkgdesc="PureScript C++ Compiler"
+arch=(any)
+url="https://github.com/andyarvanitis/purescript-native"
+license=('BSD3')
+depends=('gcc')
+optdepends=()
+makedepends=('stack')
+source=('https://github.com/andyarvanitis/purescript-native/archive/master.zip')
+sha256sums=('SKIP')
+
+build() {
+ cd $srcdir/purescript-native-master
+ stack build
+
+}
+
+package() {
+ cd $srcdir/purescript-native-master
+
+ install -Dm755 .stack-work/dist/*-linux-tinfo6/Cabal-*/build/pscpp/pscpp "$pkgdir/usr/bin/pscpp"
+ install -Dm644 "$srcdir/purescript-native-master/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et: