Misc updates
This commit is contained in:
parent
ba624dd100
commit
8efbb051ef
|
@ -0,0 +1,32 @@
|
||||||
|
#!/bin/sh
|
||||||
|
pkgname=dinit
|
||||||
|
version=0.17.0
|
||||||
|
revision=9
|
||||||
|
short_desc="Like neofetch, but much faster because written in c (NOT MY SOFTWARE)"
|
||||||
|
maintainer="Tracker-Friendly <jliwin98@danwin1210.de>"
|
||||||
|
homepage="https://github.com/fastfetch-cli/fastfetch"
|
||||||
|
license="GPL-3.0"
|
||||||
|
makedepends="git make gcc m4"
|
||||||
|
depends="gtk+3"
|
||||||
|
|
||||||
|
do_build() {
|
||||||
|
echo "Building..."
|
||||||
|
cd ${XBPS_BUILDDIR}
|
||||||
|
rm -rf dinit
|
||||||
|
git clone https://github.com/davmac314/dinit.git --depth=1
|
||||||
|
cd dinit
|
||||||
|
CXXOPTS="-Os -fno-plt -flto -fno-rtti"
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
cd ${XBPS_BUILDDIR}
|
||||||
|
cd dinit
|
||||||
|
SBINDIR="/usr/bin"
|
||||||
|
mkdir ${DESTDIR}/sbin
|
||||||
|
make DESTDIR=${DESTDIR} install
|
||||||
|
mkdir -p ${DESTDIR}/usr/bin
|
||||||
|
mv ${DESTDIR}/sbin/* ${DESTDIR}/usr/bin/
|
||||||
|
rm -rf ${DESTDIR}/sbin
|
||||||
|
ls ${DESTDIR}/usr/bin
|
||||||
|
}
|
Reference in New Issue