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