diff options
Diffstat (limited to 'community/osiris')
-rw-r--r-- | community/osiris/PKGBUILD | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/community/osiris/PKGBUILD b/community/osiris/PKGBUILD index 7ce3b4ea5..d47dd7c94 100644 --- a/community/osiris/PKGBUILD +++ b/community/osiris/PKGBUILD @@ -1,4 +1,5 @@ -# $Id: PKGBUILD 14260 2010-04-02 09:55:31Z spupykin $ +# $Id: PKGBUILD 59237 2011-11-21 15:30:37Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: jlvsimoes pkgname=osiris @@ -10,31 +11,31 @@ url="http://osiris.shmoo.com/" license=('custom') depends=('openssl' 'readline') install=$pkgname.install -source=(http://osiris.shmoo.com/data/osiris-$pkgver.tar.gz \ - osirismd.init \ +#source=(http://osiris.shmoo.com/data/osiris-$pkgver.tar.gz +source=(http://arch.p5n.pp.ru/~sergej/dl/2011/osiris-$pkgver.tar.gz + osirismd.init osirisd.init) md5sums=('1951c7dc0fe729af9ffaf58910340d12' '44281b8fc30ab3d452c6f35d3539d7ff' 'b859445803e4df59a4f82d7f411e1297') -build() -{ - cd $startdir/src/$pkgname-$pkgver - mkdir -p $startdir/pkg/usr/share/licenses/$pkgname/ - install -m644 LICENSE $startdir/pkg/usr/share/licenses/$pkgname/license.txt - mkdir -p $startdir/pkg/etc/rc.d +build() { + cd $srcdir/$pkgname-$pkgver + mkdir -p $pkgdir/usr/share/licenses/$pkgname/ + install -m644 LICENSE $pkgdir/usr/share/licenses/$pkgname/license.txt + mkdir -p $pkgdir/etc/rc.d ./configure --prefix=/usr --enable-fancy-cli --with-md-root-dir=/usr/share/$pkgname - make all || return 1 + make all # Arch-ify install locations sed -i "s|^INSTALL_OSIRISM=0|INSTALL_OSIRISM=1|" src/install/install.sh sed -i "s|^INSTALL_OSIRISD=0|INSTALL_OSIRISD=1|" src/install/install.sh sed -i "s|^ROOT_GROUP=wheel|ROOT_GROUP=root|" src/install/install.sh - make DESTDIR=$startdir/pkg install || return 1 + make DESTDIR=$pkgdir install - install -D -m755 $startdir/src/osirismd.init $startdir/pkg/etc/rc.d/osirismd && \ - install -D -m755 $startdir/src/osirisd.init $startdir/pkg/etc/rc.d/osirisd && \ - rm -rf $startdir/pkg/usr/osiris + install -D -m755 $srcdir/osirismd.init $pkgdir/etc/rc.d/osirismd + install -D -m755 $srcdir/osirisd.init $pkgdir/etc/rc.d/osirisd + rm -rf $pkgdir/usr/osiris } |