mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 12:57:14 +08:00
add systemd units to saned
This commit is contained in:
parent
611c6f3c5d
commit
8bb3768f76
@ -4,7 +4,7 @@
|
||||
|
||||
pkgname=sane
|
||||
pkgver=1.0.22
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Scanner Access Now Easy"
|
||||
url="http://www.sane-project.org"
|
||||
arch=('i686' 'x86_64')
|
||||
@ -65,10 +65,9 @@ package () {
|
||||
install -D -m644 tools/sane-backends.pc \
|
||||
"${pkgdir}/usr/lib/pkgconfig/sane-backends.pc"
|
||||
|
||||
# TODO: install systemd files , this conflicts with systemd-units
|
||||
# and this will be removed later.
|
||||
#install -D -m644 ${srcdir}/saned.socket \
|
||||
# "${pkgdir}/usr/lib/systemd/system/saned.socket"
|
||||
#install -D -m644 ${srcdir}/saned.service \
|
||||
# "${pkgdir}/usr/lib/systemd/system/saned@.service"
|
||||
# install systemd files
|
||||
install -D -m644 ${srcdir}/saned.socket \
|
||||
"${pkgdir}/usr/lib/systemd/system/saned.socket"
|
||||
install -D -m644 ${srcdir}/saned.service \
|
||||
"${pkgdir}/usr/lib/systemd/system/saned@.service"
|
||||
}
|
||||
|
@ -30,4 +30,6 @@ package() {
|
||||
rm "$pkgdir"/usr/lib/systemd/system/oss.service
|
||||
rm "$pkgdir"/usr/lib/systemd/system/pommed.service
|
||||
rm "$pkgdir"/usr/lib/systemd/system/postgresql.service
|
||||
rm "$pkgdir"/usr/lib/systemd/system/saned@.service
|
||||
rm "$pkgdir"/usr/lib/systemd/system/saned.socket
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user