diff options
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 18 |
2 files changed, 31 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..b7832bda71fd --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = pulsenomore + pkgdesc = Run Executable without Pulseaudio correctly + pkgver = 0.1 + pkgrel = 1 + url = http://bugs.kerbalspaceprogram.com/issues/7515#note-28 + arch = i686 + arch = x86_64 + license = GPL + source = https://raw.githubusercontent.com/mwestphal/pulsenomore/master/pulsenomore.c + sha256sums = b55398ee95f9f65eeef91c5df79d12a3bdbe2e6e8e75bc46c058c330cac903ca + +pkgname = pulsenomore + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..8efb8e4b3ec1 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,18 @@ +pkgname=pulsenomore +pkgver=0.1 +pkgrel=1 +pkgdesc="Run Executable without Pulseaudio correctly" +license=('GPL') +arch=('i686' 'x86_64') +url="http://bugs.kerbalspaceprogram.com/issues/7515#note-28" +source=("https://raw.githubusercontent.com/mwestphal/pulsenomore/master/$pkgname.c") +sha256sums=('b55398ee95f9f65eeef91c5df79d12a3bdbe2e6e8e75bc46c058c330cac903ca') + +build() { + gcc -std=gnu99 -O2 -o $pkgname $pkgname.c -ldl +} + +package() { + install -Dm755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}" +} + |