diff options
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 35 |
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..46c074db80d7 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = zxtext2p + pkgdesc = Command line utility that takes a BASIC source file and turns it into .P for ZX81 + pkgver = V1.0 + pkgrel = 1 + url = http://freestuff.grok.co.uk/zxtext2p/index.html + arch = x86_64 + license = GPL + makedepends = gcc + depends = glibc + source = zxtext2p-V1.0.zip::http://freestuff.grok.co.uk/zxtext2p/zxtext2p.zip + sha256sums = ce9ce3c3d4d7992de7db7a12dd5fc7d322637cbaabd2b1c360aca4c743886dd4 + +pkgname = zxtext2p diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..813e7b2cc308 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: David Maseda <david.maseda@hotmail.com> +pkgname=zxtext2p +pkgver=V1.0 +pkgrel=1 +pkgdesc="Command line utility that takes a BASIC source file and turns it into .P for ZX81" +arch=(x86_64) +url="http://freestuff.grok.co.uk/zxtext2p/index.html" +license=('GPL') +groups=() +depends=(glibc) +makedepends=(gcc) +optdepends=() +provides=() +conflicts=() +replaces=() +backup=() +options=() +install= +changelog= +source=($pkgname-$pkgver.zip::http://freestuff.grok.co.uk/zxtext2p/$pkgname.zip) +noextract=() +md5sums=() #autofill using updpkgsums + +#prepare() { +# unzip $pkgname-$pkgver.zip -d "$pkgname-$pkgver" +#} +build() { + gcc -lm -Wl,-z,relro,-z,now $pkgname.c -o $pkgname +} + +package() { + mkdir -p $pkgdir/usr/bin + cp $pkgname $pkgdir/usr/bin +} +sha256sums=('ce9ce3c3d4d7992de7db7a12dd5fc7d322637cbaabd2b1c360aca4c743886dd4') |