Skip to content

Commit

Permalink
speakersafetyd: use make-install target
Browse files Browse the repository at this point in the history
  • Loading branch information
dkwo committed Oct 19, 2024
1 parent 10cb19a commit 602300b
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions srcpkgs/speakersafetyd/template
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,12 @@ checksum=844ae3719c029e826f58c3799b6e358d189b0c42ade7a91f6c35b960cae35919
make_dirs="/var/lib/speakersafetyd/blackbox 0755 root root"

post_install() {
# can use make install-data if don't mind about systemd
vinstall 95-speakersafetyd.rules 644 usr/lib/udev/rules.d/

for f in conf/apple/*; do
vinstall "$f" 644 usr/share/speakersafetyd/apple
done

DESTDIR="${DESTDIR}" make install-data
mv ${DESTDIR}/lib/* ${DESTDIR}/usr/lib
# vinstall 95-speakersafetyd.rules 644 usr/lib/udev/rules.d/
#for f in conf/apple/*; do
# vinstall "$f" 644 usr/share/speakersafetyd/apple
#done
vlicense LICENSE
vsv speakersafetyd
}

0 comments on commit 602300b

Please sign in to comment.