SHARE
TWEET

evernus PKGBUILD

a guest Oct 1st, 2017 419 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: Fabian Köhler <fkoehler@googlemail.com>
  2. pkgname=evernus
  3. pkgver=2.12
  4. pkgrel=1
  5. pkgdesc="EVE Online next generation trade and market helper"
  6. arch=("any")
  7. url="http://evernus.com"
  8. license=("GPL3" "LGPL3" "Boost")
  9. groups=()
  10. depends=("boost" "boost-libs" "qt5-base" "qt5-multimedia" "qt5-webengine" "qt5-xmlpatterns")
  11. makedepends=("cmake" "clang")
  12. provides=("evernus")
  13.  
  14. source=(
  15.     "${pkgname}-${pkgver}.tar.bz2::https://bitbucket.org/krojew/evernus/get/${pkgver}-release.tar.bz2"
  16.     CMakeLists.patch
  17. )
  18. sha512sums=(
  19.     "b648ae0daaca3f41d259b0d99cbb75f2551ce4900f0710be9dc500bc35aca450b0a226534021a7735328fbf1565fe92f4563bebfc6bae6039f9a64305a7fdd53"
  20.     "4c1cd212812bce900f0921c990b187b0212064b0860b38170f8b4237d07046b4f55a132d9cacbb2550aa9be3c604bd3acf58edb665cd00fbe5b42dfcb04c938a"
  21. )
  22.  
  23. prepare() {
  24.     pwd
  25.     patch -uN krojew-evernus-*/CMakeLists.txt ../CMakeLists.patch
  26. }
  27.  
  28. build() {
  29.     mkdir build
  30.     cd build
  31.     cmake ../krojew-evernus-*        \
  32.         -DCMAKE_BUILD_TYPE=Release   \
  33.         -DCMAKE_INSTALL_PREFIX=/usr  \
  34.         -DCMAKE_CXX_COMPILER=clang++ \
  35.         -DCMAKE_C_COMPILER=clang
  36.     make
  37. }
  38.  
  39. package() {
  40.     cd build
  41.     make DESTDIR="$pkgdir" install
  42.  
  43.     install -Dm644 ../krojew-evernus-*/LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
  44. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top