Created
April 17, 2013 09:24
-
-
Save shizeeg/5402977 to your computer and use it in GitHub Desktop.
swiften-git version 20130408 from AUR
work with spectrum2-git
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: ntkoopman ??? | |
# Contributor: Shizeeg Unadequatov <shizeeque@gmail.com> | |
pkgname=swiften-git | |
pkgver=20130408 | |
pkgrel=1 | |
pkgdesc="XMPP Client Library" | |
arch=('i686' 'x86_64') | |
url="http://swift.im/" | |
license=('GPL3') | |
depends=('libidn' 'avahi' 'libxss' 'expat' 'openssl' 'boost-libs' 'libxml2' 'libidn' 'qt4') | |
makedepends=('git' 'scons' 'boost') | |
provides=('swiften') | |
conflicts=('swiften') | |
source=('swift::git://swift.im/swift') | |
md5sums=('SKIP') | |
_gitname='swift' | |
_commit=7d9c895ba6f1cdb56925a5313b989ecb2c5217fa | |
#pkgver() { | |
# cd "$_gitname" | |
# echo "$(git log -1 --date=short | grep Date | sed 's|[^0-9]||g')" | |
#} | |
build() { | |
cd "$_gitname" | |
# last known to work with spectrum2-git | |
git reset --hard $_commit | |
scons V=1 swiften_dll=1 Swiften SWIFTEN_INSTALLDIR=${pkgdir}/usr force-configure=1 | |
} | |
package() { | |
cd "$_gitname" | |
scons V=1 swiften_dll=1 Swiften SWIFTEN_INSTALLDIR=${pkgdir}/usr ${pkgdir}/usr | |
find "$pkgdir" -type d -name .git -exec rm -r '{}' + | |
} | |
# vim:set ts=2 sw=2 et: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment