mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-02 22:41:33 +01:00
42 lines
1.0 KiB
Plaintext
42 lines
1.0 KiB
Plaintext
# Contributor: dai9ah <dai9ah@protonmail.com>
|
|
# Maintainer: dai9ah <dai9ah@protonmail.com>
|
|
pkgname=mpdcron
|
|
pkgver=0.3
|
|
pkgrel=0
|
|
pkgdesc="Cron-like daemon for mpd"
|
|
options="!check" # No testsuite
|
|
url="https://github.com/alip/mpdcron"
|
|
arch="all"
|
|
license="GPL-2.0-only"
|
|
makedepends="autoconf automake curl-dev glib-dev libdaemon-dev libmpdclient-dev
|
|
libnotify-dev libtool sqlite-dev
|
|
"
|
|
subpackages="$pkgname-doc
|
|
$pkgname-dev
|
|
$pkgname-zsh-completion
|
|
"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/alip/mpdcron/archive/v$pkgver.tar.gz"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
./autogen.sh
|
|
}
|
|
|
|
build() {
|
|
./configure \
|
|
--prefix=/usr \
|
|
--mandir=/usr/share/man \
|
|
--enable-gmodule \
|
|
--with-standard-modules=all
|
|
make
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" -C "$builddir" install
|
|
|
|
install -Dm644 "$builddir"/zsh-completion/_* \
|
|
-t "$pkgdir"/usr/share/zsh/site-functions/
|
|
}
|
|
|
|
sha512sums="19c55d9edfeda7ecd317c449d195f90c3bda04f0d7a26cc6395b437f7d501e3ea8a00820367807e61c073ed6aa38bd69fc4948de8061cbbd20f7f393204d11e5 mpdcron-0.3.tar.gz"
|