blob: c335cd8ccbc6f86e942dc704a1a1d1e01420a843 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# Maintainer: Alexander F Rødseth <xyproto@archlinux.org>
pkgname=quine-relay
pkgver=5029ce6
pkgrel=1
pkgdesc='Uroboros program with 100 programming languages'
arch=('x86_64' 'i686')
url='http://github.com/mame/quine-relay'
license=('MIT')
depends=('algol68g' 'bash' 'boo' 'chicken' 'clisp' 'clojure' 'fpc' 'gawk' 'gcc'
'gcc-fortran' 'ghc' 'go' 'groovy' 'llvm' 'make' 'mono' 'nodejs' 'ocaml'
'octave' 'parrot' 'perl' 'php' 'python' 'r' 'ruby' 'scala' 'tcl'
'ucblogo' 'vala' 'c-intercal' 'coffee-script' 'f2c' 'gforth' 'icon'
'iverilog' 'gnu-cobol' 'pike' 'regina-rexx-das' 'swi-prolog'
'smalltalk' 'beef' 'jasmin' 'gcc-objc' 'gcc-ada' 'scilab' 'lci-git'
'spl' 'maxima' 'slang' 'fpiet' 'neko' 'nickle' 'pari' 'bsd-games'
'ratfor' 'gambas3-script' 'mlton' 'thue' 'mono-basic' 'zoem')
optdepends=('advancecomp: For generating langs.png'
'optipng: For generating langs.png')
source=('quine-relay::git://github.com/mame/quine-relay.git#commit=5029ce6'
'quine-relay.sh')
sha256sums=('SKIP'
'2409f6ccaed7070143b365fb1e276ff73620d9651f12d5058c2291b3d093be95')
conflicts=('quine-relay-git')
replaces=('quine-relay-git')
pkgver() {
cd "$pkgname"
git describe --always | sed 's|-|.|g'
}
prepare() {
cd "$pkgname"
<README.md tail -22 > LICENSE
# lolcode is available in Arch Linux
sed -i 's:vendor/lci-\*/::' Makefile
# fpiet is available in Arch Linux
#sed -i 's:vendor/npiet-\*/:fpiet:' Makefile
# whitespace is available in Arch Linux
#sed -i 's:ruby vendor/whitespace.rb:wspace:' Makefile
}
package() {
cd "$pkgname"
install -d "$pkgdir/usr/share/quine-relay"
cp -r * "$pkgdir/usr/share/quine-relay"
install -Dm755 ../quine-relay.sh "$pkgdir/usr/bin/quine-relay"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
# vim:set ts=2 sw=2 et:
|