Pkgfile (479B)
1 # Description: suckless mdev-like device manager 2 # URL: https://git.suckless.org/smdev/file/README.html 3 # Maintainer: Shokara Kou, kou at 13f0 dot net 4 # Depends on: 5 6 name=smdev 7 commit=8d07540 8 version=git-$commit 9 release=2 10 source=(include-sysmacros_h.diff config.h) 11 12 gitsource=git://git.suckless.org/smdev/ 13 14 build() { 15 git clone $gitsource 16 cd $name 17 git checkout $commit 18 19 git apply $SRC/include-sysmacros_h.diff 20 cp $SRC/config.h . 21 22 make 23 make PREFIX=/ DESTDIR=$PKG install 24 }