summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXorg2016-03-02 17:18:07 +0100
committerXorg2016-03-02 17:18:07 +0100
commit43c2b25ec9085099c794b31bb2e0e5541ba9763b (patch)
treed0f4f2e0c5afde42a9d1345a92173e8af610164c
parent44092736f6d64c097ba1009e71858adfbe9c1e39 (diff)
downloadaur-43c2b25ec9085099c794b31bb2e0e5541ba9763b.tar.gz
Move kernel module in darling-mach-git package
-rw-r--r--.SRCINFO10
-rw-r--r--.gitignore1
-rw-r--r--PKGBUILD20
-rw-r--r--darling-git.install17
4 files changed, 10 insertions, 38 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9e6d5d18e31..1ea5c4be37d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,18 @@
# Generated by mksrcinfo v8
-# Wed Mar 2 16:06:16 UTC 2016
+# Wed Mar 2 16:17:16 UTC 2016
pkgbase = darling-git
pkgdesc = A Darwin/OS X emulation layer for Linux
- pkgver = 1195.2ad7ce5
- pkgrel = 2
+ pkgver = 1197.b37d736
+ pkgrel = 1
url = http://www.darlinghq.org
- install = darling-git.install
arch = x86_64
+ groups = darling-git
license = GPL3
makedepends = git
makedepends = clang
makedepends = bison
makedepends = flex
- makedepends = linux-headers
+ depends = darling-mach-git
depends = xz
depends = fuse
depends = libxml2
diff --git a/.gitignore b/.gitignore
index e439b10eb6e..05c6d4d4c97 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,4 +2,3 @@
!.gitignore
!.SRCINFO
!PKGBUILD
-!darling-git.install
diff --git a/PKGBUILD b/PKGBUILD
index da781eb99a8..14b818aa143 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,16 +3,16 @@
_kernel=$(pacman -Qqo /usr/lib/modules/`uname -r` | grep linux | grep -v headers)
_gitname=darling
pkgname=$_gitname-git
-pkgver=1195.2ad7ce5
-pkgrel=2
+pkgver=1197.b37d736
+pkgrel=1
pkgdesc="A Darwin/OS X emulation layer for Linux"
arch=('x86_64') # Can only be built on x86_64 systems
url="http://www.darlinghq.org"
license=('GPL3')
-depends=('xz' 'fuse' 'libxml2' 'icu' 'openssl' 'lbzip2' 'zlib' 'libunwind' 'curl' 'systemd' 'libffi' 'bzip2' 'libxslt')
+groups=('darling-git')
+depends=('darling-mach-git' 'xz' 'fuse' 'libxml2' 'icu' 'openssl' 'lbzip2' 'zlib' 'libunwind' 'curl' 'systemd' 'libffi' 'bzip2' 'libxslt')
depends_x86_64=('lib32-systemd' 'lib32-libffi' 'lib32-bzip2' 'lib32-libxslt')
-makedepends=('git' 'clang' 'bison' 'flex' "$_kernel-headers")
-install=$pkgname.install
+makedepends=('git' 'clang' 'bison' 'flex')
source=('git+https://github.com/darlinghq/darling.git')
md5sums=('SKIP')
@@ -47,11 +47,6 @@ build() {
LDFLAGS="${LDFLAGS//,--as-needed}" cmake ../.. -DCMAKE_TOOLCHAIN_FILE=../../Toolchain-x86_64.cmake -DCMAKE_INSTALL_PREFIX=/usr
msg2 "Run 'make' for 64-bit build..."
make
-
- # Kernel module build
- cd "$srcdir/$_gitname/src/lkm"
- msg2 "Build Linux kernel module..."
- make
}
package() {
@@ -64,9 +59,4 @@ package() {
cd "$srcdir/$_gitname/build/x86-64"
msg2 "Install 64-bit build..."
make DESTDIR="$pkgdir" install
-
- # Kernel module install
- cd "$srcdir/$_gitname/src/lkm"
- msg2 "Install Linux kernel module..."
- make INSTALL_MOD_PATH="$pkgdir/usr" install
}
diff --git a/darling-git.install b/darling-git.install
deleted file mode 100644
index 740110ad2ae..00000000000
--- a/darling-git.install
+++ /dev/null
@@ -1,17 +0,0 @@
-_depmod() {
- depmod $(uname -r)
-}
-
-post_install() {
- _depmod
- echo -e "Before using darling, you must to load \033[1mdarling-mach\033[0m kernel module."
-}
-
-post_upgrade() {
- _depmod
- echo -e "You must to reload \033[1mdarling-mach\033[0m kernel module to use new version."
-}
-
-post_remove() {
- _depmod
-}