summaryrefslogtreecommitdiff
path: root/spamassassin/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'spamassassin/Pkgfile')
-rw-r--r--spamassassin/Pkgfile28
1 files changed, 14 insertions, 14 deletions
diff --git a/spamassassin/Pkgfile b/spamassassin/Pkgfile
index 2c0c55e9b..6d81592aa 100644
--- a/spamassassin/Pkgfile
+++ b/spamassassin/Pkgfile
@@ -11,21 +11,21 @@ source=(http://apache.mirror.digionline.de/spamassassin/source/Mail-SpamAssassin
$name.rc)
build() {
- cd Mail-SpamAssassin-$version
- perl Makefile.PL PREFIX=/usr CONFDIR=/etc/$name DESTDIR=$PKG \
- LOCALSTATEDIR=/usr/share/$name < /dev/null
- make
- make spamc/libspamc.so
- make install
+ cd Mail-SpamAssassin-$version
+ perl Makefile.PL PREFIX=/usr CONFDIR=/etc/$name DESTDIR=$PKG \
+ LOCALSTATEDIR=/usr/share/$name < /dev/null
+ make
+ make spamc/libspamc.so
+ make install
- mkdir -p $PKG/{etc/rc.d,usr/include,usr/lib}
- install -m0755 ../$name.rc $PKG/etc/rc.d/$name
- install -m0644 spamc/libspamc.so $PKG/usr/lib
- install -m0644 spamc/libspamc.h $PKG/usr/include/libspamc.h
+ mkdir -p $PKG/{etc/rc.d,usr/include,usr/lib}
+ install -m0755 ../$name.rc $PKG/etc/rc.d/$name
+ install -m0644 spamc/libspamc.so $PKG/usr/lib
+ install -m0644 spamc/libspamc.h $PKG/usr/include/libspamc.h
- chmod 0644 $PKG/usr/share/$name/*
- chmod -R u+w $PKG/*
-
- rm -fr $PKG/usr/lib/perl5/{5.*,site_perl/5.*/linux}
+ chmod 0644 $PKG/usr/share/$name/*
+ chmod -R u+w $PKG/*
+ rm -fr $PKG/usr/lib/perl5/{5.*,site_perl/5.*/linux}
+ find $PKG -name .packlist -delete
}

Generated by cgit