diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-07-27 14:26:40 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-07-27 14:26:40 -0300 |
commit | c05ee7214db837adbecc05cdf8588f271755a6cf (patch) | |
tree | 76fd634705c5f935645c62d7dc1ba5fce7a1a147 /pcr/tupi/PKGBUILD | |
parent | 101d891e1e20dfc47a7dc12f114dbb60a1403c3c (diff) | |
parent | 221e0a1bb65a3c88f5da1ad9acbef34c1074ce88 (diff) | |
download | abslibre-c05ee7214db837adbecc05cdf8588f271755a6cf.tar.gz abslibre-c05ee7214db837adbecc05cdf8588f271755a6cf.tar.bz2 abslibre-c05ee7214db837adbecc05cdf8588f271755a6cf.zip |
Merge branch 'master' of ssh://projects.parabolagnulinux.org:1863/~git/abslibre
Diffstat (limited to 'pcr/tupi/PKGBUILD')
-rw-r--r-- | pcr/tupi/PKGBUILD | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/pcr/tupi/PKGBUILD b/pcr/tupi/PKGBUILD new file mode 100644 index 000000000..c82eada67 --- /dev/null +++ b/pcr/tupi/PKGBUILD @@ -0,0 +1,55 @@ +# Maintainer: Márcio Silva <coadde@parabola.nu> + +pkgname=tupi +pkgver=0.2.git20140724 +pkgcommit=ed31be0cb13892bc6839a58da3d1570e1f49876b # July 24, 2014 +pkgrel=1 +pkgdesc='Tupí is an 2D animation/drawing software (fork of KToon)' +arch=( + x86_64 + i686 +) +url=http://www.maefloresta.com/portal/ +license=GPL2 +depends=( + desktop-file-utils + ffmpeg + quazip + qt5-multimedia + qt5-svg + shared-mime-info + xdg-utils +) +makedepends=( + git + qt5-tools + ruby +) +install=$pkgname.install +source=$pkgname-$pkgver::git+git://anongit.kde.org/tupi#commit=$pkgcommit +sha512sums=SKIP + +prepare() { + cd $pkgname-$pkgver + # fix /lib directory path + sed -i 's|/lib64|/lib|' configure.rb qonf/{configure,test}.rb + # fix qmake path + sed -i 's|qmake|qmake-qt5|g' configure + sed -i '\|path| s|qmake|qmake-qt5| + s|/bin/qmake|/bin/qmake-qt5| + ' qonf/qmake.rb + # fix /usr directory path + sed -i 's|/opt/|/usr/|' qonf/configure.rb +} + +build() { + cd $pkgname-$pkgver + export QTDIR=/usr + ./configure --prefix=/usr + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR=$pkgdir install +} |