summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Alexander Steffens (heftig)2015-06-09 22:27:50 +0200
committerJan Alexander Steffens (heftig)2015-06-09 22:29:00 +0200
commitdf4f9700ee557949b6fe078583d28ade02c1960c (patch)
tree284202f101739eed7b6cf834444809c0743c32d0
downloadaur-df4f9700ee557949b6fe078583d28ade02c1960c.tar.gz
Initial commit
-rw-r--r--.SRCINFO23
-rw-r--r--PKGBUILD40
-rw-r--r--uplink.desktop11
3 files changed, 74 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..8381ff9e24b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,23 @@
+pkgbase = uplink
+ pkgdesc = Trust is a weakness - a futuristic computer crime game
+ pkgver = 1.55
+ pkgrel = 4
+ url = http://www.introversion.co.uk/uplink
+ arch = i686
+ arch = x86_64
+ license = custom
+ depends = libjpeg6
+ depends = mesa
+ depends = zlib
+ depends = libxdamage
+ noextract = uplink.zip
+ source = uplink.desktop
+ source = http://www.introversion.co.uk/uplink/downloads/uplink-patch-1.55.tar.gz
+ source = http://www.introversion.co.uk/uplink/downloads/UplinkBoBCodeCard.pdf
+ sha256sums = 52d5b1efaecca11b400c2ab7755924a8034c09a4edd201737ba61da6bc479c02
+ sha256sums = c8df0262817154926f73c373621783d0274fec3e0eb58cde0ebc6b2a407064eb
+ sha256sums = 147f41468b0d837a168c760d045b23eecd95a7936fca239d3bea78be0a1936a0
+ sha256sums = e5734f6c394b8eaa3a3449f4d4a6df0fefa4675fb8e8a515f83e4a3b710d528a
+
+pkgname = uplink
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..947cdbbe96d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
+
+pkgname=uplink
+pkgver=1.55
+pkgrel=4
+pkgdesc="Trust is a weakness - a futuristic computer crime game"
+arch=(i686 x86_64)
+url="http://www.introversion.co.uk/uplink"
+license=(custom)
+depends=(libjpeg6 mesa zlib libxdamage)
+[[ $CARCH == x86_64 ]] && depends=(lib32-libjpeg6 lib32-mesa lib32-zlib lib32-libxdamage)
+noextract=(uplink.zip)
+
+# Requires uplink.zip from original Uplink CD
+source=(uplink.zip uplink.desktop
+ "$url/downloads/uplink-patch-${pkgver}.tar.gz"
+ "$url/downloads/UplinkBoBCodeCard.pdf")
+sha256sums=('52d5b1efaecca11b400c2ab7755924a8034c09a4edd201737ba61da6bc479c02'
+ 'c8df0262817154926f73c373621783d0274fec3e0eb58cde0ebc6b2a407064eb'
+ '147f41468b0d837a168c760d045b23eecd95a7936fca239d3bea78be0a1936a0'
+ 'e5734f6c394b8eaa3a3449f4d4a6df0fefa4675fb8e8a515f83e4a3b710d528a')
+
+prepare() {
+ bsdtar -xf uplink.zip data.dat fonts.dat graphics.dat loading.dat music.dat world.dat
+ cat >uplink.sh <<END
+#!/bin/sh
+exec /usr/share/$pkgname/lib/uplink.bin.x86 "\$@"
+END
+}
+
+package() {
+ install -Dm755 uplink/lib/uplink.bin.x86 "$pkgdir/usr/share/$pkgname/lib/uplink.bin.x86"
+ install -m644 *.dat uplink/lib/*.dat "$pkgdir/usr/share/$pkgname/lib"
+ install -m755 uplink/lib/*.so.* "$pkgdir/usr/share/$pkgname/lib"
+ install -Dm644 uplink.desktop "$pkgdir/usr/share/applications/uplink.desktop"
+ install -Dm644 uplink/uplink.png "$pkgdir/usr/share/pixmaps/uplink.png"
+ install -Dm644 UplinkBoBCodeCard.pdf "$pkgdir/usr/share/doc/$pkgname/UplinkBoBCodeCard.pdf"
+ install -m644 uplink/*.{txt,patch} "$pkgdir/usr/share/doc/$pkgname"
+ install -Dm755 uplink.sh "$pkgdir/usr/bin/uplink"
+}
diff --git a/uplink.desktop b/uplink.desktop
new file mode 100644
index 00000000000..3e43b022a40
--- /dev/null
+++ b/uplink.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Name=Uplink
+GenericName=Futuristic computer crime game.
+Comment=Trust is a weakness.
+Encoding=UTF-8
+Version=1.55
+Type=Application
+Terminal=false
+Icon=uplink
+Exec=uplink
+Categories=Application;Game;