diff options
author | Jose Riha | 2021-09-03 13:59:03 +0200 |
---|---|---|
committer | Jose Riha | 2021-09-03 13:59:03 +0200 |
commit | 4d5c2b540964d056d042c8c7988e724df69979b7 (patch) | |
tree | dc8401070f0dd138f18ceed64bc5b3e6f7a805f6 /PKGBUILD | |
download | aur-gtools.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..38fdf16a9b70 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Jozef Riha <jose1711 at gmail dot com> + +pkgname=gtools +pkgver=0.1.0 +pkgrel=1 +pkgdesc="Tool to read 2MGUI disks in Linux" +arch=('x86_64') +url="http://www.manty.net/www.geocities.com/SiliconValley/Lakes/1486/smanty.html" +license=('GPL') +depends=('glibc') +source=("http://sourceforge.net/projects/gnochm/files/gnochm/0.9.11/gnochm-0.9.11.tar.gz" "Makefile.patch") +source=('http://www.manty.net/www.geocities.com/SiliconValley/Lakes/1486/gtools-0_1_0.tgz' + 'errno.patch') + +prepare() { + patch -p1 -i errno.patch +} + +build() { + gcc gtools.c -o gtools +} + +package() { + install -Dm755 $srcdir/gtools $pkgdir/usr/bin/gtools + for f in gcopy gdir gimage gtype + do + ln -sf gtools "$pkgdir/usr/bin/$f" + done + install -Dm644 $srcdir/COPYING $pkgdir/usr/share/licenses/gtools/COPYING + install -Dm644 $srcdir/README $pkgdir/usr/share/doc/gtools/README +} +md5sums=('33c7806b35a99fb9dd95738f2017de83' + '5636003942f5c0de253b064c983f4f29') |