mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
40 lines
1.3 KiB
Bash
40 lines
1.3 KiB
Bash
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
|
# Contributor: jlvsimoes
|
|
|
|
pkgname=osiris
|
|
pkgver=4.2.3
|
|
pkgrel=2
|
|
pkgdesc="A file integrity management system"
|
|
arch=('i686' 'x86_64')
|
|
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 \
|
|
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
|
|
|
|
./configure --prefix=/usr --enable-fancy-cli --with-md-root-dir=/usr/share/$pkgname
|
|
make all || return 1
|
|
|
|
# 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
|
|
|
|
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
|
|
}
|