From c2b9bab5fe22770432b19f1a7779897df01de8c1 Mon Sep 17 00:00:00 2001 From: Greg Frost Date: Sat, 13 Mar 2010 06:45:24 +1030 Subject: p7zip: added to extra-testing as dependency for unetbootin --- abs/extra-testing/p7zip/PKGBUILD | 45 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 abs/extra-testing/p7zip/PKGBUILD diff --git a/abs/extra-testing/p7zip/PKGBUILD b/abs/extra-testing/p7zip/PKGBUILD new file mode 100644 index 0000000..9ae5122 --- /dev/null +++ b/abs/extra-testing/p7zip/PKGBUILD @@ -0,0 +1,45 @@ +# $Id: PKGBUILD 70413 2010-02-26 18:54:59Z thayer $ +# Maintainer: Thayer Williams +# Contributor: Hugo Doria +# Contributor: TuxSpirit 2007/11/17 21:22:36 UTC + +pkgname=p7zip +pkgver=9.04 +pkgrel=2 +pkgdesc="A command-line port of the 7zip compression utility" +arch=('i686' 'x86_64') +license=('GPL') +url="http://p7zip.sourceforge.net" +depends=('gcc-libs' 'bash') +source=(http://downloads.sourceforge.net/sourceforge/$pkgname/${pkgname}_${pkgver}_src_all.tar.bz2) +options=(!emptydirs) + +build() { + cd ${srcdir}/${pkgname}_${pkgver} + + #Arch64 fix + if [ "$CARCH" == "x86_64" ]; then + cp makefile.linux_amd64 makefile.machine + else + cp makefile.linux_x86_ppc_alpha_gcc_4.X makefile.machine + fi + + sed -i "s|usr/local|usr|g" makefile + + make all3 OPTFLAGS="${CXXFLAGS}" || return 1 + make install DEST_HOME="${pkgdir}/usr" \ + DEST_MAN="${pkgdir}/usr/share/man" \ + DEST_SHARE_DOC="http://www.bugaco.com/7zip" + + mkdir -p ${pkgdir}/usr/share/doc/p7zip/DOCS + install -m555 bin/7z.so ${pkgdir}/usr/lib/p7zip/ + + sed -i "s|${pkgdir}/usr|/usr|g" ${pkgdir}/usr/bin/7z + sed -i "s|${pkgdir}/usr|/usr|g" ${pkgdir}/usr/bin/7za + sed -i "s|${pkgdir}/usr|/usr|g" ${pkgdir}/usr/bin/7zr + + # Install mc's virtual filesystem + install -m755 -D contrib/VirtualFileSystemForMidnightCommander/u7z \ + ${pkgdir}/usr/share/mc/extfs/u7z +} +md5sums=('9194ebf9a2b3735d236aed001de5f6f8') -- cgit v0.12 From d8970e8dee6771e56be34194c93551718672e5af Mon Sep 17 00:00:00 2001 From: Greg Frost Date: Sat, 13 Mar 2010 06:46:30 +1030 Subject: unetbootin: added to extra-testing (iso to usbstick) --- abs/extra-testing/unetbootin/PKGBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 abs/extra-testing/unetbootin/PKGBUILD diff --git a/abs/extra-testing/unetbootin/PKGBUILD b/abs/extra-testing/unetbootin/PKGBUILD new file mode 100644 index 0000000..f676000 --- /dev/null +++ b/abs/extra-testing/unetbootin/PKGBUILD @@ -0,0 +1,28 @@ +# Contributor: Godane aka Christopher Rogers +pkgname=unetbootin +pkgver=408 +pkgrel=1 +pkgdesc="UNetbootin allows for the installation of various Linux/BSD livecd distributions to a partition or USB drive." +url="http://unetbootin.sourceforge.net/" +license="GPL" +arch=('i686' 'x86_64') +depends=('syslinux' 'p7zip' 'qt') +source=(http://downloads.sourceforge.net/$pkgname/$pkgname-source-$pkgver.tar.gz) +md5sums=('f248706e979a39d8799621e393912906') + +build() { + cd $startdir/src/ + sed -i '/^RESOURCES/d' unetbootin.pro + lupdate unetbootin.pro + lrelease unetbootin.pro + qmake "DEFINES += NOSTATIC" "RESOURCES -= unetbootin.qrc" + make + mkdir -p $pkgdir/usr/sbin + install -m 744 $pkgname $pkgdir/usr/sbin/$pkgname + mkdir -p $pkgdir/usr/share/$pkgname + install -m 644 unetbootin_*.qm $pkgdir/usr/share/$pkgname + mkdir -p $pkgdir/usr/share/applications/ + install -m 644 $pkgname.desktop $pkgdir/usr/share/applications/ + sed -i 's|Exec=/usr/bin/unetbootin|Exec=su -c /usr/sbin/unetbootin|g' $pkgdir/usr/share/applications/$pkgname.desktop + sed -i 's|Terminal=false|Terminal=true|g' $pkgdir/usr/share/applications/$pkgname.desktop +} -- cgit v0.12