diff options
author | cippaciong | 2015-07-05 11:20:19 +0200 |
---|---|---|
committer | cippaciong | 2015-07-05 11:20:19 +0200 |
commit | fab41d11639ddcf90239472588ddc3c280f068b8 (patch) | |
tree | 2b6ce9c7daf55402d5796ab2f86051276fb22c34 | |
download | aur-fab41d11639ddcf90239472588ddc3c280f068b8.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..7d60fb557346 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = ympd + pkgdesc = A standalone MPD Web GUI + pkgver = 1.2.3 + pkgrel = 1 + url = http://www.ympd.org + arch = i686 + arch = x86_64 + license = GPL2 + makedepends = cmake + makedepends = git + depends = glibc + depends = libmpdclient + optdepends = openssl: SSL support in libwebsockets webserver + source = https://github.com/notandy/ympd/archive/v1.2.3.tar.gz + sha256sums = 092c26c51166d1d1f025cd06742981783dea7e42bfe4f73f10c4418fc003de94 + +pkgname = ympd + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..aa1984b614c5 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Sardelli Tommaso <lacappannadelloziotom [at] gmail [dot] com> + +pkgname=ympd +pkgver=1.2.3 +pkgrel=1 +pkgdesc="A standalone MPD Web GUI" +arch=('i686' 'x86_64') +url="http://www.ympd.org" +license=('GPL2') +depends=('glibc' 'libmpdclient') +makedepends=('cmake' 'git') +optdepends=('openssl: SSL support in libwebsockets webserver') +source="https://github.com/notandy/$pkgname/archive/v$pkgver.tar.gz" +sha256sums=('092c26c51166d1d1f025cd06742981783dea7e42bfe4f73f10c4418fc003de94') + +build() { + cd $srcdir/$pkgname-$pkgver + mkdir build && cd build; + cmake .. -DCMAKE_INSTALL_PREFIX:PATH=/usr + make +} + +package() { + cd $srcdir/$pkgname-$pkgver/build + make DESTDIR="$pkgdir/" install + install -Dm644 "$srcdir/$pkgname-$pkgver/contrib/ympd.service" "$pkgdir/usr/lib/systemd/system/ympd.service" +} + +# vim:set ts=2 sw=2 et: |