#!/bin/bash # # Maintainer: Deposite Pirate source /usr/src/ports/Build/build.sh NAME=xdg_utils VERSION=$(date '+%Y%m%d') BUILD=1 # Description cat > ${PKG}/install/slack-desc <> ${PKG}/install/doinst.sh < desktop-file-edit.1 ) } SRCNAME[2]=xdg-user-dirs SRCVERS[2]=0.14 SRCPACK[2]=http://user-dirs.freedesktop.org/releases/${SRCNAME[2]}-${SRCVERS[2]}.tar.gz SRCCOPY[2]="GPL2" build2() { CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ ./configure \ --build="${ARCH}-slackware-linux" \ --disable-dependency-tracking \ --disable-rpath \ --prefix="${SYS_DIR[usr]}" \ --mandir="${SYS_DIR[man]}" \ --sysconfdir="${SYS_DIR[etc]}" \ --libdir="${SYS_DIR[lib]}" \ --localstatedir="${SYS_DIR[var]}" make ${JOBS} make install DESTDIR="${PKG}" doc AUTHORS changelog NEWS config ${PKG}${SYS_DIR[etc]}/xdg/user-dirs.conf config ${PKG}${SYS_DIR[etc]}/xdg/user-dirs.defaults }