summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD46
1 files changed, 23 insertions, 23 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 15f422bfb38..6df8f06a86f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -23,50 +23,50 @@ md5sums=('330f17b7664f8d0ff98ef173bd37fa33'
'c71fdddccb20e8fc393d846e9c61d685'
'5e55095e654732063621a2ffa95a2da3')
-build() {
- cd $srcdir
+package() {
+ cd ${srcdir}
# Create Destination Package Directories
- install -d $pkgdir/opt/quake3/{baseq3,missionpack}
+ install -d ${pkgdir}/opt/quake3/{baseq3,missionpack}
# Extract Files from Installer
- chmod +x $srcdir/linuxq3apoint-1.32b-3.x86.run
- $srcdir/linuxq3apoint-1.32b-3.x86.run --tar xf
+ chmod +x ${srcdir}/linuxq3apoint-1.32b-3.x86.run
+ ${srcdir}/linuxq3apoint-1.32b-3.x86.run --tar xf
# Install BaseQ3 pk3 files
- install -m 644 -t $pkgdir/opt/quake3/baseq3/ \
- $srcdir/baseq3/*.pk3
+ install -m 644 -t ${pkgdir}/opt/quake3/baseq3/ \
+ ${srcdir}/baseq3/*.pk3
# Install Missionpack pk3 files
- install -m 644 -t $pkgdir/opt/quake3/missionpack/ \
- $srcdir/missionpack/*.pk3
+ install -m 644 -t ${pkgdir}/opt/quake3/missionpack/ \
+ ${srcdir}/missionpack/*.pk3
# Install PB Files
- chown -R root:root $srcdir/pb
- mv $srcdir/pb $pkgdir/opt/quake3/
+ chown -R root:root ${srcdir}/pb
+ mv ${srcdir}/pb ${pkgdir}/opt/quake3/
# Install 1.32c Binaries
- install -m 755 -t $pkgdir/opt/quake3/ \
- $srcdir/Quake\ III\ Arena\ 1.32c/linux/{q3ded,quake3-smp.x86,quake3.x86}
+ install -m 755 -t ${pkgdir}/opt/quake3/ \
+ ${srcdir}/Quake\ III\ Arena\ 1.32c/linux/{q3ded,quake3-smp.x86,quake3.x86}
# Install Launcher (Client)
- install -D -m 755 $srcdir/quake3.launcher \
- $pkgdir/usr/bin/quake3
+ install -D -m 755 ${srcdir}/quake3.launcher \
+ ${pkgdir}/usr/bin/quake3
# Install Launcher (SMP Client)
- install -D -m 755 $srcdir/quake3-smp.launcher \
- $pkgdir/usr/bin/quake3-smp
+ install -D -m 755 ${srcdir}/quake3-smp.launcher \
+ ${pkgdir}/usr/bin/quake3-smp
# Install Launcher (Server)
- install -D -m 755 $srcdir/quake3ded.launcher \
- $pkgdir/usr/bin/quake3ded
+ install -D -m 755 ${srcdir}/quake3ded.launcher \
+ ${pkgdir}/usr/bin/quake3ded
# Install Desktop File
- install -D -m 644 $srcdir/quake3.desktop \
- $pkgdir/usr/share/applications/quake3.desktop
+ install -D -m 644 ${srcdir}/quake3.desktop \
+ ${pkgdir}/usr/share/applications/quake3.desktop
# Install Icon File
- install -D -m 644 $srcdir/quake3.xpm \
- $pkgdir/usr/share/pixmaps/quake3.xpm
+ install -D -m 644 ${srcdir}/quake3.xpm \
+ ${pkgdir}/usr/share/pixmaps/quake3.xpm
}