Compare commits
No commits in common. "a248512dac062b054e64e4dc6e881b8f9380746a" and "9e8cb311d1e6b84f4d48176db6f156f5201ce8eb" have entirely different histories.
a248512dac
...
9e8cb311d1
|
@ -1,11 +0,0 @@
|
||||||
--- smdev.c 2014-09-29 10:55:09.000000000 +0000
|
|
||||||
+++ smdev.c.fixed 2024-01-16 14:06:19.054325378 +0000
|
|
||||||
@@ -1,7 +1,7 @@
|
|
||||||
/* See LICENSE file for copyright and license details. */
|
|
||||||
#include <sys/ioctl.h>
|
|
||||||
#include <sys/stat.h>
|
|
||||||
-#include <sys/types.h>
|
|
||||||
+#include <sys/sysmacros.h>
|
|
||||||
|
|
||||||
#include <linux/sockios.h>
|
|
||||||
#include <linux/if_packet.h>
|
|
26
PKGBUILD
26
PKGBUILD
|
@ -1,8 +1,9 @@
|
||||||
# Maintainer: Jack L. Frost <fbt@fleshless.org>
|
# Maintainer: Jack L. Frost <fbt@fleshless.org>
|
||||||
|
# vim: ts=2 sw=2 et:
|
||||||
|
|
||||||
pkgname=smdev
|
pkgname=smdev
|
||||||
pkgver=0.2.3
|
pkgver=0.2.3
|
||||||
pkgrel=7
|
pkgrel=6
|
||||||
pkgdesc='Suckless mdev'
|
pkgdesc='Suckless mdev'
|
||||||
arch=( 'i686' 'x86_64' )
|
arch=( 'i686' 'x86_64' )
|
||||||
url="http://git.suckless.org/smdev/"
|
url="http://git.suckless.org/smdev/"
|
||||||
|
@ -10,29 +11,22 @@ license=( 'MIT/X' )
|
||||||
options=( 'strip' )
|
options=( 'strip' )
|
||||||
install='smdev.install'
|
install='smdev.install'
|
||||||
source=(
|
source=(
|
||||||
"https://dl.suckless.org/smdev/smdev-$pkgver.tar.gz"
|
"https://dl.suckless.org/smdev/smdev-$pkgver.tar.gz"
|
||||||
'0001-fix-linux-build.patch'
|
'smdev.install'
|
||||||
'smdev.install'
|
'config.h'
|
||||||
'config.h'
|
|
||||||
)
|
)
|
||||||
|
|
||||||
prepare() {
|
|
||||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
||||||
patch --forward --input="${srcdir}/0001-fix-linux-build.patch"
|
|
||||||
}
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||||
ln -fs ../config.h
|
ln -s ../config.h
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||||
make PREFIX=/usr DESTDIR="$pkgdir/" install
|
make PREFIX=/usr DESTDIR="$pkgdir/" install
|
||||||
}
|
}
|
||||||
|
|
||||||
sha1sums=('2154fbf82da58fdd4d38fb72025719405650d7e0'
|
sha1sums=('2154fbf82da58fdd4d38fb72025719405650d7e0'
|
||||||
'9d1021bd5092e1b3e229c317188f562a13c213ea'
|
|
||||||
'dff00e0f4fd06148b56eee1ab769b0fd976ed4eb'
|
'dff00e0f4fd06148b56eee1ab769b0fd976ed4eb'
|
||||||
'd48c01140bf0c414fa81399963d47488670da7f0')
|
'd48c01140bf0c414fa81399963d47488670da7f0')
|
Loading…
Reference in New Issue
Block a user