diff options
author | Slashbunny | 2009-08-12 22:17:38 -0400 |
---|---|---|
committer | Slashbunny | 2015-06-09 22:54:22 -0400 |
commit | cfec434f4c962aed2487985bc28fb43fbbb010af (patch) | |
tree | 2751d5d1073f84163c073e916c14496c6ba68432 /PKGBUILD | |
download | aur-cfec434f4c962aed2487985bc28fb43fbbb010af.tar.gz |
Initial commit of personal PKGBUILDs for Arch Linux
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b06ffa7593ee --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,51 @@ +# Contributor: Slash <demodevil5 [at] yahoo [dot] com> + +pkgname=doom3-cdoom +pkgver=1.3.1 +pkgrel=1 +pkgdesc="Classic Doom: Doom 1 shareware episode maps recreated for use with Doom 3." +url="http://cdoom.d3files.com/" +license=('custom') +arch=('i686') +depends=('doom3') +makedepends=('unzip') +# Download: http://files.filefront.com/classic+doom+3+131zip/;9003559;/fileinfo.html +source=('http://www.slashbunny.com/aur/doom3-cdoom/classic_doom_3_131.zip' 'doom3-cdoom.desktop' 'doom3-cdoom.launcher') +md5sums=('7dc67da1a4007e85014de566283d1a41' + 'fe84fee23843eac65cecdf3e76414184' + 'bfb9b58d9f2ed85839472848ecfd5a30') + +build() { + cd $startdir/src + + # Create Destination Directories + install -d $startdir/pkg/{usr/bin/,opt/doom3/} + + # Remove Unneeded Files + rm $startdir/src/cdoom/{*.url,*.bat} + + # Move Icon + mv $startdir/src/cdoom/cdoom.ico $startdir/src/doom3-cdoom.ico + + # Move License + mv $startdir/src/cdoom/docs/License.txt $startdir/src/License.txt + + # Move Data to Destination Directory + mv $startdir/src/cdoom $startdir/pkg/opt/doom3/ + + # Install Launcher (Client) + install -D -m 755 $startdir/src/doom3-cdoom.launcher \ + $startdir/pkg/usr/bin/doom3-cdoom + + # Install License + install -D -m 644 $startdir/src/License.txt \ + $startdir/pkg/usr/share/licenses/$pkgname/License.txt + + # Install Icon + install -D -m 644 $startdir/src/doom3-cdoom.ico \ + $startdir/pkg/usr/share/pixmaps/doom3-cdoom.ico + + # Install Desktop File + install -D -m 644 $startdir/src/doom3-cdoom.desktop \ + $startdir/pkg/usr/share/applications/doom3-cdoom.desktop +} |