summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander F Rødseth2015-06-10 15:14:46 +0200
committerAlexander F Rødseth2015-06-10 15:14:46 +0200
commit42aa896b3598ebc85bac19b964f1a2aec14091c3 (patch)
treecc6d0f40a9cf27f5ce36bf72c009132c919ebb29
downloadaur-42aa896b3598ebc85bac19b964f1a2aec14091c3.tar.gz
Initial import
-rw-r--r--.AURINFO13
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD27
3 files changed, 53 insertions, 0 deletions
diff --git a/.AURINFO b/.AURINFO
new file mode 100644
index 00000000000..526867e60b0
--- /dev/null
+++ b/.AURINFO
@@ -0,0 +1,13 @@
+pkgbase = thue
+ pkgdesc = Thue programming language
+ pkgver = 1.5_2012.0916
+ pkgrel = 1
+ url = http://catseye.tc/node/Thue.html
+ arch = any
+ license = custom:PD
+ depends = python
+ source = http://catseye.tc/distfiles/thue-1.5-2012.0916.zip
+ sha256sums = 28834a581bbf75822f965e97ff2717c7de705252fb4cebc306f4a1789fdfebc5
+
+pkgname = thue
+
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..526867e60b0
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = thue
+ pkgdesc = Thue programming language
+ pkgver = 1.5_2012.0916
+ pkgrel = 1
+ url = http://catseye.tc/node/Thue.html
+ arch = any
+ license = custom:PD
+ depends = python
+ source = http://catseye.tc/distfiles/thue-1.5-2012.0916.zip
+ sha256sums = 28834a581bbf75822f965e97ff2717c7de705252fb4cebc306f4a1789fdfebc5
+
+pkgname = thue
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..abe21d3ab38
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Alexander Rødseth <rodseth@gmail.com>
+
+pkgname=thue
+pkgver=1.5_2012.0916
+pkgrel=1
+pkgdesc='Thue programming language'
+arch=('any')
+url='http://catseye.tc/node/Thue.html'
+license=('custom:PD')
+depends=('python')
+source=("http://catseye.tc/distfiles/$pkgname-${pkgver/_/-}.zip")
+sha256sums=('28834a581bbf75822f965e97ff2717c7de705252fb4cebc306f4a1789fdfebc5')
+
+prepare() {
+ 2to3 -w -n "$pkgname-${pkgver/_/-}/src/thue.py" >/dev/null 2>&1
+}
+
+package() {
+ cd "$pkgname-${pkgver/_/-}"
+ install -Dm755 src/thue.py "$pkgdir/usr/bin/thue"
+ install -Dm644 doc/license.txt "$pkgdir/usr/share/licenses/thue/LICENSE"
+ install -Dm644 doc/thue.txt "$pkgdir/usr/share/doc/thue/REFERENCE"
+ install -Dm644 README.markdown "$pkgdir/usr/share/doc/thue/README.md"
+ cp -r eg "$pkgdir/usr/share/doc/thue/examples"
+}
+
+# vim:set ts=2 sw=2 et: