mirror of
https://codeberg.org/kiss-community/repo
synced 2025-01-26 09:35:01 -07:00
puke: cleanup
This commit is contained in:
parent
2f747a8c6f
commit
53aea0be97
@ -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
6
repo/pkgconf/build
Normal file → Executable 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
1
repo/pkgconf/checksums
Normal file
@ -0,0 +1 @@
|
||||
7ec8b516e655e247f4ba976837cee808134785819ab8f538f652fe919cc6c09f pkgconf-0.9.12.tar.bz2
|
19
repo/pkgconf/manifest
Normal file
19
repo/pkgconf/manifest
Normal 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
|
Loading…
Reference in New Issue
Block a user