Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
J0WI
aports
Commits
623e19f0
Commit
623e19f0
authored
4 years ago
by
Leo
Browse files
Options
Downloads
Patches
Plain Diff
testing/mpdcron: modernize
parent
7f2ccecd
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
testing/mpdcron/APKBUILD
+9
-17
9 additions, 17 deletions
testing/mpdcron/APKBUILD
with
9 additions
and
17 deletions
testing/mpdcron/APKBUILD
+
9
−
17
View file @
623e19f0
...
...
@@ -4,6 +4,7 @@ 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"
...
...
@@ -12,14 +13,16 @@ makedepends="autoconf automake curl-dev glib-dev libdaemon-dev libmpdclient-dev
"
subpackages
=
"
$pkgname
-doc
$pkgname
-dev
$pkgname
-zsh-completion
:zshcomp:noarch
$pkgname
-zsh-completion
"
source
=
"
$pkgname
-
$pkgver
.tar.gz::https://github.com/alip/
$pkgname
/archive/v
$pkgver
.tar.gz"
builddir
=
"
$srcdir
/
$pkgname
-
$pkgver
"
source
=
"
$pkgname
-
$pkgver
.tar.gz::https://github.com/alip/mpdcron/archive/v
$pkgver
.tar.gz"
build
()
{
cd
"
$builddir
"
prepare
()
{
default_prepare
./autogen.sh
}
build
()
{
./configure
\
--prefix
=
/usr
\
--mandir
=
/usr/share/man
\
...
...
@@ -28,22 +31,11 @@ build() {
make
}
check
()
{
cd
"
$builddir
"
/src
./mpdcron
--help
>
/dev/null
}
package
()
{
make
DESTDIR
=
"
$pkgdir
"
-C
"
$builddir
"
install
}
zshcomp
()
{
pkgdesc
=
"Zsh completions for
$pkgname
"
install_if
=
"
$pkgname
=
$pkgver
-r
$pkgrel
zsh"
mkdir
-p
"
$subpkgdir
"
/usr/share/zsh/site-functions
install
-Dm644
"
$builddir
"
/zsh-completion/_
*
\
"
$sub
pkgdir
"
/usr/share/zsh/site-functions/
-t
"
$
pkgdir
"
/usr/share/zsh/site-functions/
}
sha512sums
=
"19c55d9edfeda7ecd317c449d195f90c3bda04f0d7a26cc6395b437f7d501e3ea8a00820367807e61c073ed6aa38bd69fc4948de8061cbbd20f7f393204d11e5 mpdcron-0.3.tar.gz"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment