summaryrefslogtreecommitdiff
path: root/pcr/tupi
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-05-12 06:14:30 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-05-12 06:14:30 -0300
commite806fdd6fdcab100f7685dadd2b4dca04675b3d0 (patch)
tree30c3cd4c3705cf774a084c3bcae4fd12f7555c12 /pcr/tupi
parent345b8c4070212e489cfc754155bc8dfea4db17b3 (diff)
downloadabslibre-e806fdd6fdcab100f7685dadd2b4dca04675b3d0.tar.gz
abslibre-e806fdd6fdcab100f7685dadd2b4dca04675b3d0.tar.bz2
abslibre-e806fdd6fdcab100f7685dadd2b4dca04675b3d0.zip
moved blender-addon-ogre,cambozola,collada-dom,mednafen-server,mitsuba,nexuiz,nexuiz-data,noip,openssh-knock,renpy,supermodel,systemd-knock,tupi,xcftools,yafaray,zoneminder to [pcr] repo
Diffstat (limited to 'pcr/tupi')
-rw-r--r--pcr/tupi1
-rw-r--r--pcr/tupi/PKGBUILD55
-rw-r--r--pcr/tupi/tupi.install13
3 files changed, 68 insertions, 1 deletions
diff --git a/pcr/tupi b/pcr/tupi
deleted file mode 100644
index 4eb47d013..000000000
--- a/pcr/tupi
+++ /dev/null
@@ -1 +0,0 @@
-moved to [ssh://git@projects.parabola.nu/~git/pcr.git/pcr] git repo
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
+}
diff --git a/pcr/tupi/tupi.install b/pcr/tupi/tupi.install
new file mode 100644
index 000000000..724bfce00
--- /dev/null
+++ b/pcr/tupi/tupi.install
@@ -0,0 +1,13 @@
+post_install() {
+ update-desktop-database -q
+ update-mime-database usr/share/mime &> /dev/null
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}