desktop/imagewriter/PKGBUILD
2013-08-05 07:13:29 +02:00

37 lines
989 B
Bash

#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
pkgname=imagewriter
pkgver=1.10
pkgrel=8
pkgrelsuse=2.1.2
pkgdesc="SUSE Studio Imagewriter"
arch=('x86_64')
url="http://kiwi.berlios.de"
license=('GPLv2')
depends=('coreutils' 'syslinux' 'udisks2')
makedepends=('rpmextract')
provides=('imagewriter')
categories=('utils')
source=(http://download.opensuse.org/distribution/12.3/repo/oss/suse/x86_64/$pkgname-$pkgver-$pkgrelsuse.x86_64.rpm)
sha256sums=('0bb2a7585a2edd74803d1ea56d2ed77b37c165f6dc164258115f538dccba213c')
build() {
cd ${pkgdir}/
rpmextract.sh ${srcdir}/$pkgname-$pkgver-$pkgrelsuse.x86_64.rpm
chmod a+rx -R *
find . -type f -exec chmod -x \{\} \;
chmod +x usr/bin/imagewriter
}
package() {
sed s/xdg-su/kdesu/ -i $pkgdir/usr/share/applications/imagewriter.desktop
}