From b5f2dcca2affb4d92663d870acba2b4ca1611d00 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 25 Jun 2011 16:48:48 +0300 Subject: add PKGBUILD to build system. --- .gitignore | 1 + Makefile.am | 1 + PKGBUILD | 19 ------------------- PKGBUILD.in | 19 +++++++++++++++++++ configure.ac | 1 + 5 files changed, 22 insertions(+), 19 deletions(-) delete mode 100644 PKGBUILD create mode 100644 PKGBUILD.in diff --git a/.gitignore b/.gitignore index 0bbca0a9e..e0e769d15 100644 --- a/.gitignore +++ b/.gitignore @@ -35,6 +35,7 @@ po/POTFILES .deps stamp-h1 manaplus.spec +PKGBUILD # files created by CMake CMakeFiles/ diff --git a/Makefile.am b/Makefile.am index 375c18158..c6a9242f3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -20,6 +20,7 @@ EXTRA_DIST = $(desktop_DATA) \ AUTHORS \ ChangeLog \ INSTALL \ + PKGBUILD \ README \ README.cmake diff --git a/PKGBUILD b/PKGBUILD deleted file mode 100644 index db237086a..000000000 --- a/PKGBUILD +++ /dev/null @@ -1,19 +0,0 @@ -# Maintainer: Aline Ferraz - -pkgname=manaplus-git -pkgver=1.1.6.12 -pkgrel=1 -pkgdesc="ManaPlus is a 2D MMORPG game advanced client for games based on eAthena fork The Mana World (tAthena) also for other forks like Evol. More info here: http://manaplus.evolonline.org" -arch=('i686' 'x86_64') -url="http://manaplus.evolonline.org" -depends=('libxml2' 'physfs' 'sdl_image' 'sdl_mixer' 'sdl_net' 'sdl_ttf' 'sdl_gfx') -license=('GPL2') - -build() { -cd ${startdir}/ -autoreconf -i -./configure --prefix=/usr -make clean -make || return 1 -make DESTDIR=$startdir/pkg install -} diff --git a/PKGBUILD.in b/PKGBUILD.in new file mode 100644 index 000000000..a4a08b913 --- /dev/null +++ b/PKGBUILD.in @@ -0,0 +1,19 @@ +# Maintainer: Aline Ferraz + +pkgname=manaplus-git +pkgver=@PACKAGE_VERSION@ +pkgrel=1 +pkgdesc="ManaPlus is a 2D MMORPG game advanced client for games based on eAthena fork The Mana World (tAthena) also for other forks like Evol. More info here: http://manaplus.evolonline.org" +arch=('i686' 'x86_64') +url="http://manaplus.evolonline.org" +depends=('libxml2' 'physfs' 'sdl_image' 'sdl_mixer' 'sdl_net' 'sdl_ttf' 'sdl_gfx') +license=('GPL2') + +build() { +cd ${startdir}/ +autoreconf -i +./configure --prefix=/usr +make clean +make || return 1 +make DESTDIR=$startdir/pkg install +} diff --git a/configure.ac b/configure.ac index 3bc6ae6c6..f7c82ef75 100755 --- a/configure.ac +++ b/configure.ac @@ -218,6 +218,7 @@ AM_CONDITIONAL(ENABLE_GOOGLE_PROFILER, test x$googleprofiler_enabled = xtrue) AC_CONFIG_FILES([ manaplus.spec Makefile +PKGBUILD src/Makefile data/Makefile data/fonts/Makefile -- cgit v1.2.3-70-g09d2