blob: 6224e994ccd2f69c751ea8e0af39ddda11cf1cb8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Maintainer: Ettore Chimenti <ek5.chimenti @ gmail.com>
pkgname="init-headphone"
pkgver="0.12"
pkgrel=1
pkgdesc="Re-enables headphone jack after sleep/suspend resume on Clevo notebooks"
arch=("any")
url="https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1313904/"
license=('GPL3')
makedepends=('git')
depends=("python")
install=init-headphone.install
source=("git::git+https://github.com/Unrud/init-headphone#tag=v$pkgver"
"init-headphone.install")
md5sums=('SKIP'
'81b2f5e44cd18753e64a084eaff563b5')
build(){
cd "$srcdir/git"
./autogen.sh
./configure --prefix="$pkgdir/usr/" --with-systemdsystemunitdir="$pkgdir/usr/lib/systemd/system"
make
sed "s,$pkgdir,," -i init-headphone.service
}
package() {
cd "$srcdir/git"
make install
mv $pkgdir/usr/{sbin,bin}
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|