From 6421722d273cfd64c6561842d34af1e20d18f888 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 10 Apr 2015 14:47:17 +0000 Subject: main/libvisio: moved to main --- main/libvisio/APKBUILD | 55 +++++++++++++++++++++++++++++++++++++++++++++++ testing/libvisio/APKBUILD | 55 ----------------------------------------------- 2 files changed, 55 insertions(+), 55 deletions(-) create mode 100644 main/libvisio/APKBUILD delete mode 100644 testing/libvisio/APKBUILD diff --git a/main/libvisio/APKBUILD b/main/libvisio/APKBUILD new file mode 100644 index 0000000000..10aa975b81 --- /dev/null +++ b/main/libvisio/APKBUILD @@ -0,0 +1,55 @@ +# Contributor: Timo Teräs +# Maintainer: Timo Teräs +pkgname=libvisio +pkgver=0.1.1 +pkgrel=0 +pkgdesc="Import filter and tools for MS Visio Diagrams" +url="https://wiki.documentfoundation.org/DLP/Libraries/libvisio" +arch="all" +license="MPL1.1+" +depends="" +depends_dev="boost-dev librevenge-dev icu-dev libwpd-dev libwpg-dev libxml2-dev zlib-dev" +makedepends="$depends_dev doxygen gperf perl" +install="" +subpackages="$pkgname-dev $pkgname-doc $pkgname-tools" +source="http://dev-www.libreoffice.org/src/$pkgname/$pkgname-$pkgver.tar.xz" + +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la +} + +tools() { + mkdir -p "$subpkgdir"/usr + mv "$pkgdir"/usr/bin "$subpkgdir"/usr +} + +md5sums="299c02fa08a1b9dc2be8ffa9deb0457a libvisio-0.1.1.tar.xz" +sha256sums="4b510168d1465516fdf6e57c01e2f9eae1fc0ae232c74e44e70693bbc49227f1 libvisio-0.1.1.tar.xz" +sha512sums="c17c3a94985bd4c6fb10fc27d1b61ac812d5b663d123d2a5a5089f9297d39c53befffd563e6367aa024df7f69c03a1cfa41edef71c824cf03e26e3b01987dd38 libvisio-0.1.1.tar.xz" diff --git a/testing/libvisio/APKBUILD b/testing/libvisio/APKBUILD deleted file mode 100644 index 10aa975b81..0000000000 --- a/testing/libvisio/APKBUILD +++ /dev/null @@ -1,55 +0,0 @@ -# Contributor: Timo Teräs -# Maintainer: Timo Teräs -pkgname=libvisio -pkgver=0.1.1 -pkgrel=0 -pkgdesc="Import filter and tools for MS Visio Diagrams" -url="https://wiki.documentfoundation.org/DLP/Libraries/libvisio" -arch="all" -license="MPL1.1+" -depends="" -depends_dev="boost-dev librevenge-dev icu-dev libwpd-dev libwpg-dev libxml2-dev zlib-dev" -makedepends="$depends_dev doxygen gperf perl" -install="" -subpackages="$pkgname-dev $pkgname-doc $pkgname-tools" -source="http://dev-www.libreoffice.org/src/$pkgname/$pkgname-$pkgver.tar.xz" - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - rm -f "$pkgdir"/usr/lib/*.la -} - -tools() { - mkdir -p "$subpkgdir"/usr - mv "$pkgdir"/usr/bin "$subpkgdir"/usr -} - -md5sums="299c02fa08a1b9dc2be8ffa9deb0457a libvisio-0.1.1.tar.xz" -sha256sums="4b510168d1465516fdf6e57c01e2f9eae1fc0ae232c74e44e70693bbc49227f1 libvisio-0.1.1.tar.xz" -sha512sums="c17c3a94985bd4c6fb10fc27d1b61ac812d5b663d123d2a5a5089f9297d39c53befffd563e6367aa024df7f69c03a1cfa41edef71c824cf03e26e3b01987dd38 libvisio-0.1.1.tar.xz" -- cgit v1.2.3