updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / mytetra / PKGBUILD
blobb24852be0812ba96da4f5f89261bbfc741031a2a
1 # Contributor: m0rph < m0rph.mailbox (at) gmail.com >
3 pkgname=mytetra
4 pkgver=1.30.1
5 pkgrel=1
6 pkgdesc='Smart manager for information collecting'
7 arch=('i686' 'x86_64')
8 url='http://webhamster.ru/site/page/index/articles/projectcode/105'
9 license=('GPL3')
10 depends=('qt')
11 makedepends=('make')
12 _package_name=${pkgname}_${pkgver//./_}_src
13 source=(http://webhamster.ru/db/data/articles/105/$_package_name.zip)
14 md5sums=('3af1f0feacec645540c0857d57669fa1')
16 build() {
17 cd "${srcdir}" || return 1
19 # Change install dir to /usr/bin
20 sed -i -e "s|mytetra_binary.path=/usr/local/bin|mytetra_binary.path=/usr/bin|" mytetra.pro
21 BINARY_INSTALL_PATH=/usr/bin
23 qmake || return 1
25 msg "Starting make..."
26 make CXXFLAGS="-fpermissive" || return 1
29 package() {
30 cd "${srcdir}" || return 1
31 msg "Installing to package directory..."
32 make INSTALL_ROOT="${pkgdir}" install || return 1