summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorwenLiangcan2016-01-31 13:36:40 +0800
committerwenLiangcan2016-01-31 13:36:40 +0800
commitbf5604d13c0632ff899b3fa87dbcdfa2935b84c5 (patch)
treedbda29388d5466762f051eed216a2bc858cb968d
downloadaur-picrin-git.tar.gz
picrin-git r3250.5a5b5ee-1.
-rw-r--r--.SRCINFO23
-rw-r--r--.gitignore18
-rw-r--r--PKGBUILD33
3 files changed, 74 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c193a5454eb
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,23 @@
+# Generated by mksrcinfo v8
+# Sun Jan 31 05:36:10 UTC 2016
+pkgbase = picrin-git
+ pkgdesc = Picrin is a lightweight R7RS scheme implementation written in pure C89.
+ pkgver = r3250.5a5b5ee
+ pkgrel = 1
+ url = https://github.com/picrin-scheme/picrin
+ arch = i686
+ arch = x86_64
+ license = MIT
+ makedepends = git
+ makedepends = make
+ makedepends = gcc
+ depends = perl
+ depends = glibc
+ depends = libedit
+ provides = picrin
+ conflicts = picrin
+ source = git://github.com/picrin-scheme/picrin.git
+ md5sums = SKIP
+
+pkgname = picrin-git
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..f4c2113394d
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,18 @@
+### https://raw.github.com/github/gitignore/fa441f903154d8159ef71db23d4816d802450fef/ArchLinuxPackages.gitignore
+
+*.tar
+*.tar.*
+*.jar
+*.exe
+*.msi
+*.zip
+*.tgz
+*.log
+*.log.*
+*.sig
+
+pkg/
+src/
+picrin/
+
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..6978ea368c9
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: wenLiangcan <boxeed at gmail dot com>
+
+pkgname=picrin-git
+_pkgname=picrin
+pkgver=r3250.5a5b5ee
+pkgrel=1
+pkgdesc="Picrin is a lightweight R7RS scheme implementation written in pure C89."
+arch=('i686' 'x86_64')
+url='https://github.com/picrin-scheme/picrin'
+license=('MIT')
+depends=('perl' 'glibc' 'libedit')
+makedepends=('git' 'make' 'gcc')
+provides=("${_pkgname}")
+conflicts=("${_pkgname}")
+source=('git://github.com/picrin-scheme/picrin.git')
+md5sums=('SKIP')
+
+pkgver() {
+ cd "${srcdir}/${_pkgname}"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "${srcdir}/${_pkgname}"
+ make
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}"
+ install -dm755 "${pkgdir}/usr/bin"
+ make install prefix="${pkgdir}/usr"
+ install -Dm644 'LICENSE' "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
+}