summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD3
-rw-r--r--dosbox-x.install6
3 files changed, 10 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8e6fdeb2c60c..b877992d8925 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,9 @@
pkgbase = dosbox-x-git
pkgdesc = x86 emulator with builtin DOS, with patches with more features
- pkgver = 11977.1939643b0
+ pkgver = 13107.9810e34da
pkgrel = 1
url = http://dosbox.sourceforge.net
+ install = dosbox-x.install
arch = i686
arch = x86_64
license = GPL
diff --git a/PKGBUILD b/PKGBUILD
index 51d661777e77..02c77e61c6ea 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Mantainer: Franco Tortoriello
pkgname=dosbox-x-git
-pkgver=11977.1939643b0
+pkgver=13107.9810e34da
pkgrel=1
pkgdesc="x86 emulator with builtin DOS, with patches with more features"
arch=(i686 x86_64)
@@ -10,6 +10,7 @@ license=(GPL)
depends=(fluidsynth libxkbfile libpng libxrandr mesa ffmpeg)
makedepends=(git glu)
optdepends=()
+install='dosbox-x.install'
source=(dosbox-x::git://github.com/joncampbell123/dosbox-x.git
dosbox-x.png
dosbox-x.desktop)
diff --git a/dosbox-x.install b/dosbox-x.install
new file mode 100644
index 000000000000..ff7b7d71a9bf
--- /dev/null
+++ b/dosbox-x.install
@@ -0,0 +1,6 @@
+post_install() {
+ setcap cap_net_raw,cap_net_admin=eip /usr/bin/dosbox-x
+}
+post_upgrade() {
+ setcap cap_net_raw,cap_net_admin=eip /usr/bin/dosbox-x
+}