Skip to content

Commit

Permalink
codelite-git: Add sqlite3 dependency; add .gitignore; split build() f…
Browse files Browse the repository at this point in the history
…rom package()
  • Loading branch information
elieux committed Feb 22, 2017

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent b06b1af commit 1e31fe6
Showing 2 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions mingw-w64-codelite-git/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
codelite
10 changes: 8 additions & 2 deletions mingw-w64-codelite-git/PKGBUILD
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ pkgbase=mingw-w64-${_realname}-git
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}-git"
provides=("${MINGW_PACKAGE_PREFIX}-${_realname}")
conflicts=("${MINGW_PACKAGE_PREFIX}-${_realname}")
pkgver=10.0.28.g1f1e42b
pkgver=10.0.101.g0ea2fb149
pkgrel=1
pkgdesc="Open-source, cross platform IDE for the C/C++ programming languages (mingw-w64)"
arch=('any')
@@ -16,6 +16,7 @@ depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs"
"${MINGW_PACKAGE_PREFIX}-libssh"
"${MINGW_PACKAGE_PREFIX}-drmingw"
"${MINGW_PACKAGE_PREFIX}-wxWidgets"
"${MINGW_PACKAGE_PREFIX}-sqlite3"
)
optdepends=("${MINGW_PACKAGE_PREFIX}-clang")
makedepends=("${MINGW_PACKAGE_PREFIX}-boost"
@@ -53,7 +54,7 @@ prepare() {
patch -p1 -i ${srcdir}/proper-libraries-names-mingw.patch
}

package() {
build() {
local -a extra_config

if check_option "debug" "y"; then
@@ -77,8 +78,13 @@ package() {
../${_realname}

make # -j1 VERBOSE=1
}

package() {
cd build-${MINGW_CHOST}
make install

# why?
rm -f ${pkgdir}${MINGW_PREFIX}/lib/codelite/*.a
rm -f ${pkgdir}${MINGW_PREFIX}/lib/*.a
}

0 comments on commit 1e31fe6

Please sign in to comment.