39 lines
862 B
Bash
39 lines
862 B
Bash
# Maintainer: Jack L. Frost <fbt@fleshless.org>
|
|
|
|
pkgname=smdev
|
|
pkgver=0.2.3
|
|
pkgrel=6
|
|
pkgdesc='Suckless mdev'
|
|
arch=( 'i686' 'x86_64' )
|
|
url="http://git.suckless.org/smdev/"
|
|
license=( 'MIT/X' )
|
|
options=( 'strip' )
|
|
install='smdev.install'
|
|
source=(
|
|
"https://dl.suckless.org/smdev/smdev-$pkgver.tar.gz"
|
|
'0001-fix-linux-build.patch'
|
|
'smdev.install'
|
|
'config.h'
|
|
)
|
|
|
|
prepare() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
patch --forward --input="${srcdir}/0001-fix-linux-build.patch"
|
|
}
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
ln -fs ../config.h
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make PREFIX=/usr DESTDIR="$pkgdir/" install
|
|
}
|
|
|
|
sha1sums=('2154fbf82da58fdd4d38fb72025719405650d7e0'
|
|
'9d1021bd5092e1b3e229c317188f562a13c213ea'
|
|
'dff00e0f4fd06148b56eee1ab769b0fd976ed4eb'
|
|
'd48c01140bf0c414fa81399963d47488670da7f0')
|