diff --git a/sys/apps/kmod/ympbuild b/sys/apps/kmod/ympbuild new file mode 100644 index 00000000..60a098a3 --- /dev/null +++ b/sys/apps/kmod/ympbuild @@ -0,0 +1,43 @@ +#!/usr/bin/env bash +name='kmod' +release='1' +version='30' +url='https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git' +description='library and tools for managing linux kernel modules' +email='aliriza.keskin@pardus.org.tr' +maintainer='aliriza' +license=('GPLv3') +source=("https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git/snapshot/kmod-$version.tar.gz") +depends=() +makedepends=() +md5sums=('0ed271b9bf76af8925734af566572f76') +group=(sys.apps) +uses=() +arch=('x86_64') + +cd $name-$version + +prepare(){ + # skip building gtk doc + touch libkmod/docs/gtk-doc.make +} + +setup(){ + autoreconf -fvi + ./configure --prefix=/usr \ + --libdir=/lib64/ \ + --bindir=/bin +} + +build(){ + make -j`nproc` +} + +package(){ + make install -j`nproc` + mkdir -p ${DESTDIR}/usr/bin + for tool in {ins,ls,rm,dep}mod mod{probe,info}; do + ln -s ../../bin/kmod "${DESTDIR}/usr/bin/$tool" + done +} + diff --git a/sys/apps/which/ympbuild b/sys/apps/which/ympbuild new file mode 100644 index 00000000..6d4d5c87 --- /dev/null +++ b/sys/apps/which/ympbuild @@ -0,0 +1,32 @@ +#!/usr/bin/env bash +name='which' +release='1' +version='2.21' +url='https://carlowood.github.io/which/' +description='Prints out location of specified executables that are in your path' +email='aliriza.keskin@pardus.org.tr' +maintainer='aliriza' +license=('GPLv3') +source=("https://carlowood.github.io/which/which-$version.tar.gz") +depends=() +makedepends=() +md5sums=('097ff1a324ae02e0a3b0369f07a7544a') +group=(sys.apps) +uses=() +arch=('x86_64') + +cd $name-$version + +setup(){ + ./configure --prefix=/usr \ + --libdir=/usr/lib64/ +} + +build(){ + make -j`nproc` +} + +package(){ + make install -j`nproc` +} +