summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaik Broemme2015-10-04 21:47:06 +0200
committerMaik Broemme2015-10-04 21:47:06 +0200
commit126ae972e89a76accea7bcc79972ae8f72c17ab3 (patch)
treef463069fb425f1c7dee447eb63833b147a636566
parentfebabc557636f24460cf4fd9f4448c5a6fdea1ec (diff)
downloadaur-126ae972e89a76accea7bcc79972ae8f72c17ab3.tar.gz
Removed unnecessary firmare information.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
-rw-r--r--dahdi-linux.install2
3 files changed, 8 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6e48ae1bac5..56f514cff20 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by makepkg 4.2.1
-# Sun Oct 4 19:36:56 UTC 2015
+# Sun Oct 4 19:45:59 UTC 2015
pkgbase = dahdi-linux
pkgdesc = DAHDI drivers for Asterisk (Digium, OpenVox, Allo and Yeastar cards)
pkgver = 2.10.2
- pkgrel = 1
+ pkgrel = 2
url = http://www.asterisk.org/
install = dahdi-linux.install
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 522296a633e..f09bcbce58c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname="dahdi-linux"
pkgdesc="DAHDI drivers for Asterisk (Digium, OpenVox, Allo and Yeastar cards)"
pkgver=2.10.2
-pkgrel=1
+pkgrel=2
arch=("i686" "x86_64")
url="http://www.asterisk.org/"
license=("LGPLv2")
@@ -51,6 +51,10 @@ package() {
make DESTDIR="${pkgdir}" install-firmware
make DESTDIR="${pkgdir}" install-include
make DESTDIR="${pkgdir}" install-xpp-firm
+
+ # beautifying firmware directory.
+ rm "${pkgdir}/usr/lib/firmware/".d*
+
cd drivers
find . -name "*.ko" -exec gzip "{}" \; -exec install -D -m 0644 "{}.gz" "${pkgdir}/usr/lib/modules/extramodules-4.0-ARCH/{}.gz" \;
}
diff --git a/dahdi-linux.install b/dahdi-linux.install
index 496f8f5ba06..a3f7db8f851 100644
--- a/dahdi-linux.install
+++ b/dahdi-linux.install
@@ -1,6 +1,6 @@
# post install.
post_install() {
- depmod $(cat /usr/lib/modules/extramodules-4.0-ARCH/version)
+ depmod $(cat /usr/lib/modules/extramodules-4.2-ARCH/version)
udevadm control --reload-rules
}