maximand |
|
Темы:
9
Сообщения:
78
Участник с: 18 января 2012
|
Обновил Money Manager Ex. Дополнены зависимости, удалены лишние исходники. PKGBUILD: # Maintainer: TDY <[email protected]> pkgname=mmex-svn pkgver=1680 pkgrel=1 pkgdesc="An easy-to-use personal finance suite (Money Manager Ex)" arch=('i686') url="http://www.codelathe.com/mmex/" license=('GPL') depends=('wxgtk>=2.8.10') makedepends=('boost' 'gettext' 'subversion' 'bakefile') optdepends=('cups: for printing support') provides=('mmex') conflicts=('mmex') install=mmex.install source=(mmex.desktop) md5sums=('ac08bedafef42de7946353fff8da8a7c') _svntrunk=http://moneymanagerex.svn.sourceforge.net/svnroot/moneymanagerex/trunk/mmex _svnmod=mmex build() { cd "$srcdir" msg "Connecting to $_svntrunk..." if [ -d $_svnmod/.svn ]; then svn up -r $pkgver $_svnmod msg2 "Local files updated" else svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod msg2 "SVN checkout done" fi rm -rf $_svnmod-build rsync -rCh $_svnmod/ $_svnmod-build/ install -dm755 $_svnmod-build/wxbuild cd $_svnmod-build/ ./bootstrap if [ ! -e "po/slovenian.po" ]; then (cd po && ln -s Slovenian.po slovenian.po && cd ..) fi cd wxbuild msg "Starting make..." ../configure --prefix=/usr \ --enable-unicode \ --enable-shared \ --with-wxshared \ --with-gtk \ --with-wx-config=/usr/lib/wx/config/gtk2-unicode-release-2.8 \ LIBS="-ldl -lm -lpthread" make } package() { cd "$srcdir/$_svnmod-build/wxbuild" make DESTDIR="$pkgdir" install install -Dm644 "$srcdir/mmex.desktop" \ "$pkgdir/usr/share/applications/mmex.desktop" install -Dm644 ../graphics/mmexlogo.png "$pkgdir/usr/share/pixmaps/mmex.png" } |