2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-07-04 15:02:27 +00:00

puke: cleanup

This commit is contained in:
Dylan Araps 2019-05-18 18:42:33 +03:00
parent 2f747a8c6f
commit 53aea0be97
4 changed files with 26 additions and 4 deletions

View File

@ -45,7 +45,7 @@ pkgfile_depends() {
}
pkgfile_build() {
sed 's/$\(BUILD\|PKG\)/$pkg_dir/g' "$1" | while read -r line; do
sed 's/$\(BUILD\|PKG\)/$1/g' "$1" | while read -r line; do
[ "$line" = "}" ] && code=
[ "$code" ] && printf '%s\n' "$line"
@ -54,6 +54,8 @@ pkgfile_build() {
code=1
}
done > build
chmod +x build
}
main() {

6
repo/pkgconf/build Normal file → Executable file
View File

@ -4,10 +4,10 @@
--prefix=/usr \
--sysconfdir=/etc
mkdir -p "$pkg_dir/usr/bin"
mkdir -p "$1/usr/bin"
make
make DESTDIR="$pkg_dir" install
make DESTDIR="$1" install
cd "$pkg_dir/usr/bin" || exit 1
cd "$1/usr/bin" || exit 1
ln -s pkgconf pkg-config

1
repo/pkgconf/checksums Normal file
View File

@ -0,0 +1 @@
7ec8b516e655e247f4ba976837cee808134785819ab8f538f652fe919cc6c09f pkgconf-0.9.12.tar.bz2

19
repo/pkgconf/manifest Normal file
View File

@ -0,0 +1,19 @@
/var/db/puke/pkgconf/version
/var/db/puke/pkgconf/build
/var/db/puke/pkgconf/checksums
/var/db/puke/pkgconf/manifest
/var/db/puke/pkgconf/sources
/var/db/puke/pkgconf
/var/db/puke
/var/db
/var
/usr/bin/pkgconf
/usr/bin/pkg-config
/usr/bin
/usr/share/man/man1/pkgconf.1
/usr/share/man/man1
/usr/share/man
/usr/share/aclocal/pkg.m4
/usr/share/aclocal
/usr/share
/usr