summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPol_M2018-07-31 12:10:16 +0200
committerPol_M2018-07-31 12:10:16 +0200
commitd51a76888120257ade9007b1cd88e733a6fc0601 (patch)
tree2861291037eebd0419d238bf54d5fa8839dc403a
parente822a582a4568e7fa05d981ff2660226f86a1dd1 (diff)
downloadaur-d51a76888120257ade9007b1cd88e733a6fc0601.tar.gz
Changes from Eschwartz. (Licence, rm (make, gcc), epoch, url in https, quoting pkgdir and srcdir)
-rwxr-xr-x.SRCINFO7
-rwxr-xr-xPKGBUILD19
2 files changed, 13 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 31c73d9da4c..d2662597523 100755
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,13 +2,12 @@ pkgbase = doomseeker
pkgdesc = A cross-platform Doom server browser
pkgver = r2191+.c2c7f37b1afb+
pkgrel = 1
- url = http://doomseeker.drdteam.org/
+ epoch = 1
+ url = https://doomseeker.drdteam.org/
arch = i686
arch = x86_64
- license = GPL2
- makedepends = gcc
+ license = LGPL
makedepends = cmake
- makedepends = make
makedepends = mercurial
depends = zlib
depends = bzip2
diff --git a/PKGBUILD b/PKGBUILD
index 29fde738d0d..844ac4df378 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,13 +4,14 @@
pkgname=doomseeker
pkgver=r2191+.c2c7f37b1afb+
pkgrel=1
+epoch=1
pkgdesc="A cross-platform Doom server browser"
arch=(i686 x86_64)
-url="http://doomseeker.drdteam.org/"
-license=("GPL2")
+url="https://doomseeker.drdteam.org/"
+license=("LGPL")
depends=('zlib' 'bzip2' 'qt5-tools' 'qt5-base' 'qt5-multimedia')
-makedepends=('gcc' 'cmake' 'make' 'mercurial')
+makedepends=('cmake' 'mercurial')
optdepends=('qt4: A cross-platform application and UI framework'
'zandronum: GZDoom fork supporting client/server multiplayer'
'odamex: Classic client/server multiplayer fork'
@@ -33,12 +34,12 @@ pkgver() {
}
prepare() {
- cd $srcdir/$pkgname
+ cd "$srcdir/$pkgname"
patch -p1 -i "${srcdir}/doomseeker.qt5.11.patch"
}
build() {
- cd $srcdir/$pkgname
+ cd "$srcdir/$pkgname"
mkdir -p build
cd build
cmake -DCMAKE_BUILD_TYPE=Release .. && \
@@ -46,8 +47,8 @@ build() {
}
package() {
- mkdir -p $pkgdir/usr/games/doomseeker/engines/
- cd $srcdir/$pkgname/build
+ mkdir -p "$pkgdir/usr/games/doomseeker/engines/"
+ cd "$srcdir/$pkgname/build"
install -Dm755 doomseeker "$pkgdir/usr/games/doomseeker"
for f in libwadseeker.so*; do
install -Dm755 $f "$pkgdir/usr/games/doomseeker"
@@ -57,7 +58,7 @@ package() {
install -Dm755 $f "$pkgdir/usr/games/doomseeker/engines/$f"
done
cd ../../
- install -Dm644 media/icon.png "$pkgdir/usr/share/pixmaps/doomseeker.png"
- install -Dm755 $srcdir/../doomseeker-launch-script.sh "$pkgdir/usr/bin/doomseeker"
+ install -Dm644 "media/icon.png" "$pkgdir/usr/share/pixmaps/doomseeker.png"
+ install -Dm755 "$srcdir/../doomseeker-launch-script.sh" "$pkgdir/usr/bin/doomseeker"
install -Dm644 "$srcdir/../doomseeker.desktop" "$pkgdir/usr/share/applications/doomseeker.desktop"
}