diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2017-09-30 00:30:26 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2017-09-30 00:30:26 -0500 |
commit | cf05ae25358ec9f7bf144a361149ac7a4fd7a74f (patch) | |
tree | 0e3f9d7cec339da1965bf07eeb52036d3c50941b /pcr/tupi/PKGBUILD | |
parent | 812016eacc42003c95dc798f2f7dfb0194d088a7 (diff) | |
download | abslibre-cf05ae25358ec9f7bf144a361149ac7a4fd7a74f.tar.gz abslibre-cf05ae25358ec9f7bf144a361149ac7a4fd7a74f.tar.bz2 abslibre-cf05ae25358ec9f7bf144a361149ac7a4fd7a74f.zip |
tupi-0.2.9-1: updating version
Diffstat (limited to 'pcr/tupi/PKGBUILD')
-rw-r--r-- | pcr/tupi/PKGBUILD | 75 |
1 files changed, 31 insertions, 44 deletions
diff --git a/pcr/tupi/PKGBUILD b/pcr/tupi/PKGBUILD index 94c635cd4..f42e7ae5a 100644 --- a/pcr/tupi/PKGBUILD +++ b/pcr/tupi/PKGBUILD @@ -1,55 +1,42 @@ -# Maintainer: Márcio Silva <coadde@hyperbola.info> +# Contributor (Arch): Ninez <triplesquarednine AT gmail DOT com> +# Contributor (Arch): N30N <archlinux@alunamation.com> +# Contributor (Arch): sekret (AUR) +# Maintainer (Arch): SanskritFritz (gmail) +# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> -pkgname=tupi -pkgver=0.2.git20140724 -pkgcommit=ed31be0cb13892bc6839a58da3d1570e1f49876b # July 24, 2014 +pkgname="tupi" +pkgver=0.2.9 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 +pkgdesc="A design and authoring tool for digital artists interested in 2D animation." +url="http://www.maefloresta.com/tupi" +license=("GPL3") +arch=("i686" "x86_64") +depends=("qt5-multimedia" "qt5-svg" "quazip" "ffmpeg" "shared-mime-info") +makedepends=("ruby" "zlib" "libgl") +source=("http://sourceforge.net/projects/tupi2d/files/Source%20Code/tupi-$pkgver.tar.gz" + "quazip5.patch") +sha256sums=('c4e93fe29ab277d1d0800e6f0bef0beb69c00087e58a943d863da3b099f9e30a' + '263e93c6cc54c6a5e19fa0b05d3f51b75e23a8f6259fe0159174152090a9efcb') 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 + cd tupi-$pkgver + patch -p1 -i ../quazip5.patch } build() { - cd $pkgname-$pkgver - export QTDIR=/usr - ./configure --prefix=/usr - make + cd tupi-$pkgver + ./configure \ + --libdir="/usr/lib" \ + --sharedir="/usr/share/tupi" \ + --without-debug + make } package() { - cd $pkgname-$pkgver - make DESTDIR=$pkgdir install + cd tupi-$pkgver + make DESTDIR="$pkgdir" install + + sed "s|$pkgdir||" -i "$pkgdir/usr/bin/tupi" + mkdir -p "$pkgdir/etc/ld.so.conf.d" + echo "/usr/lib/tupi" > "$pkgdir/etc/ld.so.conf.d/tupi.conf" } |