diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-11-15 17:59:38 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-11-15 17:59:38 -0500 |
commit | 87b6714982c2e7e951235482ded0c9bac823840d (patch) | |
tree | b2a13eaba547167b7dd436205c15b0edac5cfc54 /~luke/dosemu-libre/PKGBUILD | |
download | abslibre-87b6714982c2e7e951235482ded0c9bac823840d.tar.gz abslibre-87b6714982c2e7e951235482ded0c9bac823840d.tar.bz2 abslibre-87b6714982c2e7e951235482ded0c9bac823840d.zip |
initial commit
Diffstat (limited to '~luke/dosemu-libre/PKGBUILD')
-rw-r--r-- | ~luke/dosemu-libre/PKGBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/~luke/dosemu-libre/PKGBUILD b/~luke/dosemu-libre/PKGBUILD new file mode 100644 index 000000000..559d27969 --- /dev/null +++ b/~luke/dosemu-libre/PKGBUILD @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Jaroslaw Swierczynski <swiergot@aur.archlinux.org> +# Contributor: Eric Belanger <belanger@astro.umontreal.ca> +# Contributor: Bob Finch <w9ya@arrl.net> +# Contributor: Luke Shumaker <lukeshu@sbcglobal.net> + +pkgname=dosemu-libre +pkgver=1.4.0 +pkgrel=3 +pkgdesc="DOS emulator" +arch=('i686' 'x86_64') +url="http://www.dosemu.org/" +license=('custom' 'GPL2' 'CMU') +depends=('gpm' 'slang' 'sdl' 'libxxf86vm' 'libsndfile' 'sh') +backup=('etc/dosemu/dosemu.conf' + 'etc/dosemu/dosemu.users' + 'etc/dosemu/global.conf') +source=(http://downloads.sourceforge.net/sourceforge/dosemu/dosemu-$pkgver.tgz) +md5sums=('0bba530637266f99d404ba15e3f118d4') + +_extract_license() { + sed -e "1,/^--- $1/d" -e '/^---/,$d' COPYING.DOSEMU | sed 1d > $pkgdir/usr/share/licenses/$pkgname/$2 +} + +build() { + cd $srcdir/dosemu-$pkgver + ./configure --prefix=/usr --with-fdtarball=none --mandir=/usr/share/man + make || return 1 + + make DESTDIR=$pkgdir install || return 1 + + install -D -m 644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING && \ + install -D -m 644 COPYING.DOSEMU $pkgdir/usr/share/licenses/$pkgname/COPYING.DOSEMU + _extract_license 'The Mach DOS Emulator' COPYING.CMU + _extract_license 'XFree86 (mouse code)' COPYING.mouse + _extract_license 'The VGA fonts' COPYING.copyleft_vgafonts +} |