relocate all packages with new group names from gentoo

This commit is contained in:
sulincix committed 2022-11-20 07:45:54 +00:00
1 parent 20645c750a
commit e133dbe26f
54 files changed
+42 -40

No files matched your search

+34
View File
@@ -0,0 +1,34 @@
#!/bin/bash
name=readline
version=8.1
release=1
url='http://www.gnu.org/software/readline/'
description="GNU readline library"
email='parduscix@yandex.ru'
maintainer='sulincix'
license=('GPL')
arch=(x86_64)
source=(https://ftp.gnu.org/pub/gnu/$name/$name-$version.tar.gz
inputrc)
md5sums=('e9557dd5b1409f5d7b37ef717c64518e'
'SKIP')
depends=(glibc)
group=(sys.apps)
cd $name-$version
setup(){
./configure --prefix=/usr \
--libdir=/lib64/readline
}
build(){
make SHLIB_LIBS="-L/tools/lib -lncursesw"
}
package(){
make SHLIB_LIBS="-L/tools/lib -lncursesw" DESTDIR="$DESTDIR" install pkgconfigdir="/usr/lib64/pkgconfig"
install -Dm644 ../inputrc "$DESTDIR"/etc/inputrc
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
echo "/lib64/readline/" > ${DESTDIR}/etc/ld.so.conf.d/readline.conf
}