smdev/PKGBUILD

39 lines
862 B
Bash
Raw Normal View History

2015-06-08 09:31:07 +00:00
# Maintainer: Jack L. Frost <fbt@fleshless.org>
pkgname=smdev
pkgver=0.2.3
pkgrel=7
2015-06-08 09:31:07 +00:00
pkgdesc='Suckless mdev'
arch=( 'i686' 'x86_64' )
2016-01-17 20:27:23 +00:00
url="http://git.suckless.org/smdev/"
2015-06-08 09:31:07 +00:00
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'
2015-06-08 09:31:07 +00:00
)
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch --forward --input="${srcdir}/0001-fix-linux-build.patch"
}
2015-06-08 09:31:07 +00:00
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
ln -fs ../config.h
make
2015-06-08 09:31:07 +00:00
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make PREFIX=/usr DESTDIR="$pkgdir/" install
2015-06-08 09:31:07 +00:00
}
2024-01-12 17:43:33 +00:00
sha1sums=('2154fbf82da58fdd4d38fb72025719405650d7e0'
'9d1021bd5092e1b3e229c317188f562a13c213ea'
2015-06-08 09:31:07 +00:00
'dff00e0f4fd06148b56eee1ab769b0fd976ed4eb'
'd48c01140bf0c414fa81399963d47488670da7f0')