mirror of
https://github.com/archlinux/aur.git
synced 2026-02-12 19:11:17 +01:00
Add system-wide configuration file support
This commit is contained in:
parent
34212dbc17
commit
df6230d2e5
1 changed files with 4 additions and 0 deletions
4
PKGBUILD
4
PKGBUILD
|
|
@ -27,6 +27,7 @@ makedepends=(
|
|||
)
|
||||
provides=('wshowlyrics')
|
||||
conflicts=('wshowlyrics')
|
||||
backup=('etc/wshowlyrics/settings.ini')
|
||||
source=("git+https://github.com/unstable-code/lyrics.git")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
|
|
@ -53,6 +54,9 @@ package() {
|
|||
# Install binary
|
||||
install -Dm755 build/lyrics "$pkgdir/usr/bin/wshowlyrics"
|
||||
|
||||
# Install system-wide configuration file
|
||||
install -Dm644 settings.ini.example "$pkgdir/etc/wshowlyrics/settings.ini"
|
||||
|
||||
# Install documentation
|
||||
install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
|
||||
install -Dm644 README.ko.md "$pkgdir/usr/share/doc/$pkgname/README.ko.md"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue