summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSebRmv2015-06-07 08:42:11 +0200
committerSebRmv2015-06-07 08:42:11 +0200
commit16c1483759d1cf780ff3a206544e9e92ec6241cc (patch)
tree2584b74409e1ae48a10ed48203c7195b384158ed /PKGBUILD
downloadaur-16c1483759d1cf780ff3a206544e9e92ec6241cc.tar.gz
Initial import.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9dc8d974d27
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Elbarto
+pkgname=binfmt_aout
+pkgver=3.19
+pkgrel=1
+pkgdesc='binfmt_aout kernel module, for running an a.out binary format'
+arch=('i686')
+makedepends=('linux-headers' 'linux-api-headers' 'gzip')
+url="https://www.kernel.org"
+license=("GPLv3")
+options=('!strip')
+source=("https://raw.githubusercontent.com/torvalds/linux/v{$pkgver}/fs/binfmt_aout.c"
+ "Makefile")
+sha1sums=('461efd1c09b0b2420c1544ba5ec94952ecef4255'
+ '24969cd0bfe0eba16b15a714839891615001842f')
+install=binfmt_aout.install
+
+build(){
+cd "$srcdir"
+ make
+}
+
+package() {
+ cd "$srcdir"
+ mkdir -p "${pkgdir}"/lib/modules
+ make install INSTALL_MOD_PATH="${pkgdir}"
+# gzip "${pkgdir}/lib/modules/`uname -r`/extra/binfmt_aout.ko"
+}