diff options
author | Leah Neukirchen <leah@vuxu.org> | 2020-01-31 15:59:31 +0100 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2020-01-31 15:59:31 +0100 |
commit | 8b4c9aad73a0ec3bcf2bc2c66a356fc829a487ec (patch) | |
tree | 3dcd6061810fe0298cc9913f5b93f0df142f1eab /lib2.sh | |
parent | 289055301db8c7bf26eaf47228e0747c69623bfd (diff) | |
download | mewix-8b4c9aad73a0ec3bcf2bc2c66a356fc829a487ec.tar.gz mewix-8b4c9aad73a0ec3bcf2bc2c66a356fc829a487ec.tar.xz mewix-8b4c9aad73a0ec3bcf2bc2c66a356fc829a487ec.zip |
add package categories, defaulting to a/
Diffstat (limited to 'lib2.sh')
-rw-r--r-- | lib2.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib2.sh b/lib2.sh index ea7cbe0..a4e3cea 100644 --- a/lib2.sh +++ b/lib2.sh @@ -1,3 +1,4 @@ +[ -z "$pkgcat" ] && error "pkgcat unset" [ -z "$pkgname" ] && error "pkgname unset" [ -z "$version" ] && error "version unset" @@ -13,7 +14,7 @@ configure_args="--prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin --bindir=/usr : ${LDFLAGS:=-Wl,-z,relro -Wl,-z,now} : ${make_install_target:=install} : ${make_install_args:=} -: ${DESTDIR:=/dst/$pkgname/$version} +: ${DESTDIR:=/dst/$pkgcat/$pkgname/$version} for s in fetch extract configure build check install; do verbose pre_$s |