mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
Core PKGBUILD cleanup x2
This commit is contained in:
parent
f7a1079385
commit
2bf72224aa
7 changed files with 33 additions and 33 deletions
|
@ -11,7 +11,7 @@ license=('BSD')
|
|||
groups=('base')
|
||||
depends=('gcc-libs')
|
||||
options=('!libtool' '!makeflags')
|
||||
source=(ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${pkgname}-${pkgver}.tar.bz2)
|
||||
source=(ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/$pkgname-$pkgver.tar.bz2)
|
||||
md5sums=('b6a9669d1863423f01ea46cdf00f93dc')
|
||||
|
||||
build() {
|
||||
|
|
|
@ -12,7 +12,7 @@ groups=('base')
|
|||
depends=('gdbm' 'db>=4.7' 'coreutils')
|
||||
# for site_perl this is needed!
|
||||
#test without options=('emptydirs')
|
||||
source=(http://www.perl.com/CPAN/src/perl-${pkgver}.tar.gz
|
||||
source=(http://www.perl.com/CPAN/src/$pkgname-$pkgver.tar.gz
|
||||
perlbin.sh
|
||||
perl-5.8.6-picdl.patch0
|
||||
perl-5.10.0-archlinux-inc-order.patch)
|
||||
|
|
|
@ -12,7 +12,7 @@ url="http://pkgconfig.freedesktop.org/wiki/"
|
|||
license=('GPL')
|
||||
groups=('base-devel')
|
||||
depends=()
|
||||
source=(http://pkgconfig.freedesktop.org/releases/pkg-config-${pkgver}.tar.gz)
|
||||
source=(http://pkgconfig.freedesktop.org/releases/pkg-config-$pkgver.tar.gz)
|
||||
md5sums=('d922a88782b64441d06547632fd85744')
|
||||
|
||||
build() {
|
||||
|
|
|
@ -12,7 +12,7 @@ url='http://www.cs.unipr.it/ppl'
|
|||
license=(GPL3)
|
||||
depends=('gmp>=4.1.3')
|
||||
options=('!libtool')
|
||||
source=(http://www.cs.unipr.it/ppl/Download/ftp/releases/$pkgver/ppl-$pkgver.tar.gz)
|
||||
source=(http://www.cs.unipr.it/ppl/Download/ftp/releases/$pkgver/$pkgname-$pkgver.tar.gz)
|
||||
md5sums=('e7dd265afdeaea81f7e87a72b182d875')
|
||||
|
||||
build() {
|
||||
|
|
|
@ -13,21 +13,21 @@ license=('GPL' 'LGPL')
|
|||
groups=('base')
|
||||
depends=('ncurses')
|
||||
backup=('opt/etc/sysctl.conf')
|
||||
source=('http://procps.sourceforge.net/procps-${pkgver}.tar.gz'
|
||||
'sysctl.conf'
|
||||
'Makefile')
|
||||
source=(http://procps.sourceforge.net/$pkgname-$pkgver.tar.gz
|
||||
'sysctl.conf'
|
||||
'Makefile')
|
||||
md5sums=('9532714b6846013ca9898984ba4cd7e0'
|
||||
'9be3a131a7068aae11418e6dd99e2221'
|
||||
'830f6ad2d76acb028621ecc3d0f9300a')
|
||||
'9be3a131a7068aae11418e6dd99e2221'
|
||||
'830f6ad2d76acb028621ecc3d0f9300a')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
rm Makefile
|
||||
cp $srcdir/Makefile .
|
||||
sed -i "s:\$(lib64):lib:" Makefile || return 1
|
||||
make || return 1
|
||||
make DESTDIR="${pkgdir}/opt" ldconfig=/bin/true install || return 1
|
||||
install -D -m644 "${srcdir}/sysctl.conf" "${pkgdir}/opt/etc/sysctl.conf" || return 1
|
||||
install -d "${pkgdir}/opt/include/proc" || return 1
|
||||
install -m644 proc/*.h "${pkgdir}/opt/include/proc" || return 1
|
||||
make DESTDIR="$pkgdir/opt" ldconfig=/bin/true install || return 1
|
||||
install -D -m644 "$srcdir/sysctl.conf" "$pkgdir/opt/etc/sysctl.conf" || return 1
|
||||
install -d "$pkgdir/opt/include/proc" || return 1
|
||||
install -m644 proc/*.h "$pkgdir/opt/include/proc" || return 1
|
||||
}
|
||||
|
|
|
@ -11,22 +11,22 @@ license=('GPL')
|
|||
groups=('base')
|
||||
depends=('ncurses')
|
||||
backup=("opt/etc/inputrc")
|
||||
source=( http://www.sfr-fresh.com/unix/misc/readline-${pkgver}.tar.gz
|
||||
inputrc)
|
||||
source=(http://www.sfr-fresh.com/unix/misc/$pkgname-$pkgver.tar.gz
|
||||
inputrc)
|
||||
md5sums=('b7f65a48add447693be6e86f04a63019'
|
||||
'e5fc955f56d9fa5beb871f3279b8fa8b')
|
||||
|
||||
build() {
|
||||
cd $srcdir/readline-${pkgver}
|
||||
cd $srcdir/$pkgname-$pkgver
|
||||
./configure --prefix=/opt \
|
||||
--mandir=/opt/share/man --infodir=/opt/share/info || return 1
|
||||
make SHLIB_LIBS=-lncurses || return 1
|
||||
make DESTDIR=${startdir}/pkg install || return 1
|
||||
make DESTDIR=$startdir/pkg install || return 1
|
||||
|
||||
mkdir -p ${startdir}/pkg/opt/etc
|
||||
install -m644 ../inputrc ${startdir}/pkg/opt/etc/inputrc || return 1
|
||||
mkdir -p $startdir/pkg/opt/etc
|
||||
install -m644 ../inputrc $startdir/pkg/opt/etc/inputrc || return 1
|
||||
|
||||
# cd ${startdir}/pkg
|
||||
# cd $startdir/pkg
|
||||
# mkdir -pv lib
|
||||
# mv -v usr/lib/lib{readline,history}.so.6* lib/ || return 1
|
||||
# ln -svf ../../lib/libreadline.so.5 usr/lib/libreadline.so || return 1
|
||||
|
|
|
@ -12,25 +12,25 @@ license=('GPL3')
|
|||
depends=('acl')
|
||||
backup=('opt/etc/rsyncd.conf'
|
||||
'opt/etc/xinetd.d/rsync')
|
||||
source=('http://rsync.samba.org/ftp/rsync/rsync-3.0.6.tar.gz'
|
||||
'rsyncd.conf'
|
||||
'rsyncd'
|
||||
'rsync.xinetd')
|
||||
source=(http://rsync.samba.org/ftp/$pkgname/$pkgname-$pkgver.tar.gz
|
||||
rsyncd.conf
|
||||
rsyncd
|
||||
rsync.xinetd)
|
||||
md5sums=('e9865d093a18e4668b9d31b635dc8e99'
|
||||
'aeb04786ee7cba9221a8eca7279cdfcb'
|
||||
'64ec3de7539d07be2ee6f6339cd23ae4'
|
||||
'c9627d35fa175cf84565f46602c21e98')
|
||||
'aeb04786ee7cba9221a8eca7279cdfcb'
|
||||
'64ec3de7539d07be2ee6f6339cd23ae4'
|
||||
'c9627d35fa175cf84565f46602c21e98')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/rsync-${pkgver}
|
||||
cd $srcdir/$pkgname-$pkgver
|
||||
|
||||
./prepare-source || return 1
|
||||
./configure --prefix=/opt --with-included-popt \
|
||||
--enable-acl-support --enable-xattr-support || return 1
|
||||
make || return 1
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
make DESTDIR=$pkgdir install || return 1
|
||||
|
||||
install -D -m 755 ../rsyncd ${pkgdir}/opt/etc/rc.d/rsyncd || return 1
|
||||
install -D -m 644 ../rsyncd.conf ${pkgdir}/opt/etc/rsyncd.conf || return 1
|
||||
install -D -m 644 ../rsync.xinetd ${pkgdir}/opt/etc/xinetd.d/rsync || return 1
|
||||
install -D -m 755 ../rsyncd $pkgdir/opt/etc/rc.d/rsyncd || return 1
|
||||
install -D -m 644 ../rsyncd.conf $pkgdir/opt/etc/rsyncd.conf || return 1
|
||||
install -D -m 644 ../rsync.xinetd $pkgdir/opt/etc/xinetd.d/rsync || return 1
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue