aboutsummaryrefslogtreecommitdiffstats
path: root/main/inkscape/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-07-22 07:34:00 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-07-22 07:34:31 +0000
commit1fd72d6f99bd1e736f344c85b7f9515c74a2afab (patch)
treea34edbdb02b53cd3c0f36fccba7ac871e6130b1e /main/inkscape/APKBUILD
parent0a42e0ebd11e49f67e6d787794cc8df30cd6b55d (diff)
downloadaports-1fd72d6f99bd1e736f344c85b7f9515c74a2afab.tar.gz
aports-1fd72d6f99bd1e736f344c85b7f9515c74a2afab.tar.bz2
aports-1fd72d6f99bd1e736f344c85b7f9515c74a2afab.tar.xz
main/inkscape: split out viewe and docs
Diffstat (limited to 'main/inkscape/APKBUILD')
-rw-r--r--main/inkscape/APKBUILD31
1 files changed, 27 insertions, 4 deletions
diff --git a/main/inkscape/APKBUILD b/main/inkscape/APKBUILD
index a4abf50aec..3944f12577 100644
--- a/main/inkscape/APKBUILD
+++ b/main/inkscape/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=inkscape
pkgver=0.48.4
-pkgrel=5
+pkgrel=6
pkgdesc="A vector-based drawing program - svg compliant"
url="http://inkscape.sourceforge.net/"
arch="all"
@@ -24,9 +24,11 @@ tar
"
depends="desktop-file-utils"
install=
-subpackages="$pkgname-lang"
+subpackages="$pkgname-doc $pkgname-lang $pkgname-view"
source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz
- automake.patch"
+ automake.patch
+ inkscape-0.48.4-spuriouscomma.patch
+ "
_builddir="$srcdir"/$pkgname-$pkgver
@@ -58,5 +60,26 @@ package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
+
+view() {
+ pkgdesc="Viewing program for SVG files"
+ mkdir -p "$subpkgdir"/usr/bin
+ mv "$pkgdir"/usr/bin/inkview "$subpkgdir"/usr/bin
+}
+
+doc() {
+ default_doc
+ mkdir -p "$subpkgdir"/usr/share/inkscape
+ mv "$pkgdir"/usr/share/inkscape/examples \
+ "$pkgdir"/usr/share/inkscape/tutorials \
+ "$subpkgdir"/usr/share/inkscape
+}
md5sums="2c7149e877609f3f7e7a9d4e6f510d2b inkscape-0.48.4.tar.gz
-f212448d60a2182611071e40d247da06 automake.patch"
+f212448d60a2182611071e40d247da06 automake.patch
+a78af90abbf8629636f726dda30a128c inkscape-0.48.4-spuriouscomma.patch"
+sha256sums="6e19ee087a79012a0cec9c6e6d194357e256b7ec538536efcbdf74fdf2d31d5a inkscape-0.48.4.tar.gz
+4c21350f16032615ff98096a1cd7bf83ec3a55f8df4f3ed4ea356d47f9df6a78 automake.patch
+6d7ed69e538f6e1cb1762a144a852ff39c8781e5dba5c4c515e65ce0b7b17066 inkscape-0.48.4-spuriouscomma.patch"
+sha512sums="bb9ad17304a335d6b0eb1e9e03833a4f510c24851f91b1f8964a17b092f168ebd37f1782eafc74ee3056e8f3db55e60e1148bb3411058a2c6099f5ff49fbade8 inkscape-0.48.4.tar.gz
+fab98a525a3343eda7c8e8ce59ce9a8f977c1b8edea07870cc4f4b23fc0fd452792b39f2a87cebb5be110e2b82cf95bc871be9d0f3c1a764d6ded86e218e1537 automake.patch
+5bcdff5f67a8fa2e685ab9207c9657fdb43821b6706345264fdaccbc84a89f8157144d4f854ad9d203c2679f76aa4e94136bb13fd011404dd678699ee1044948 inkscape-0.48.4-spuriouscomma.patch"