summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPol Marcet Sardà2018-10-29 22:06:15 +0100
committerPol Marcet Sardà2018-10-29 22:06:15 +0100
commit024c0082c5feb0d985d858498bcce5d3a694f34a (patch)
treeebc3a796c8c85fdf83df48a1c5e6569bb49eaf2e
parent33e6371122c577a593bb5cde92181c49f22b9125 (diff)
downloadaur-024c0082c5feb0d985d858498bcce5d3a694f34a.tar.gz
1.2 Release.
Now the packagers should take care of IpToCountry.dat
-rwxr-xr-x.gitignore1
-rwxr-xr-xPKGBUILD19
2 files changed, 14 insertions, 6 deletions
diff --git a/.gitignore b/.gitignore
index a27588589c1..6f93a32495f 100755
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@
/pkg/
/src/
/doomseeker/
+/doomseeker-blobs/ \ No newline at end of file
diff --git a/PKGBUILD b/PKGBUILD
index d918de28dd2..8a098b676ed 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,7 @@
# Maintainer Pol Marcet Sardà <polmarcetsarda@gmail.com>
-# Contributor: Reotip Sakuraga <reotipfur@gmail.com>
pkgname=doomseeker
-pkgver=r2212.3e1cbeb2dba8
+pkgver=r2338.ae7c4d5e7e5b
pkgrel=1
epoch=1
pkgdesc="A cross-platform Doom server browser"
@@ -18,9 +17,12 @@ optdepends=('qt4: A cross-platform application and UI framework'
'chocolate-doom: Doom source port accurately reproducing the original DOS versions of Doom'
'srb2: A 3D Sonic fan game based off of Doom Legacy (aka "Sonic Robo Blast 2")')
-source=("hg+https://bitbucket.org/Doomseeker/doomseeker#revision=3e1cbeb")
+# 1.2 Release
+source=("hg+https://bitbucket.org/Doomseeker/doomseeker#tag=1.2"
+ "hg+https://bitbucket.org/Doomseeker/doomseeker-blobs#revision=450d81d")
-sha256sums=('SKIP')
+sha256sums=('SKIP'
+ 'SKIP')
pkgver() {
cd "$pkgname"
@@ -34,16 +36,21 @@ pkgver() {
#}
build() {
+ cd "$srcdir/$pkgname-blobs"
+ python3 geolite2_conv.py geo/GeoLite2-Country-Blocks-IPv4.csv geo/GeoLite2-Country-Locations-en.csv "$srcdir/$pkgname/src/core/IpToCountry.dat"
cd "$srcdir/$pkgname"
mkdir -p build
cd build
- cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ..
+ cmake -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DDOOMSEEKER_IP2C_DAT:FILEPATH="IpToCountry.dat" \
+ ..
make
}
package() {
cd "$srcdir/$pkgname/build/"
make DESTDIR=$pkgdir install
- # lib64 is a symlink. We have to move stuff to lib
+ # lib64 is a symlink of lib. We have to move stuff to lib
mv $pkgdir/usr/lib64 $pkgdir/usr/lib
}