diff options
author | JP Cimalando | 2019-06-29 16:12:00 +0200 |
---|---|---|
committer | JP Cimalando | 2019-06-29 16:23:34 +0200 |
commit | 2514b7c40bb1e7d5968d67288d7d40cbccfc061d (patch) | |
tree | 9e7c8c4c31cec42d8b18ad974007fc2a271295dc | |
download | aur-cmus-plugin-vgm.tar.gz |
add cmus-plugin-vgm 0.1
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 42 |
2 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..77ec319f56fb --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = cmus-plugin-vgm + pkgdesc = Video Game Music file support for cmus (vgm/vgz/dro/s98) + pkgver = 0.1 + pkgrel = 1 + url = https://github.com/jpcima/cmus-plugin-vgm + arch = x86_64 + license = Boost + license = GPL + makedepends = cmake + depends = cmus + depends = zlib + source = https://github.com/jpcima/cmus-plugin-vgm/releases/download/v0.1/cmus-plugin-vgm-0.1.tar.gz + sha512sums = 9d0c8c6a6cb43d0b8f419035017e060cebeed1a07da4b468af50943b19c766af49af4004061a33b92c71696ac05e4f2f2180270d375caece8e212dbe5b8b94d4 + +pkgname = cmus-plugin-vgm + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..634cf3db1c98 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: Jean Pierre Cimalando <jp-dev@inbox.ru> +pkgname=cmus-plugin-vgm +pkgver=0.1 +pkgrel=1 +epoch= +pkgdesc="Video Game Music file support for cmus (vgm/vgz/dro/s98)" +arch=('x86_64') +url="https://github.com/jpcima/cmus-plugin-vgm" +license=('Boost' 'GPL') +groups=() +depends=('cmus' 'zlib') +makedepends=('cmake') +checkdepends=() +optdepends=() +provides=() +conflicts=() +replaces=() +backup=() +options=() +install= +changelog= +source=("https://github.com/jpcima/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz") +sha512sums=('9d0c8c6a6cb43d0b8f419035017e060cebeed1a07da4b468af50943b19c766af49af4004061a33b92c71696ac05e4f2f2180270d375caece8e212dbe5b8b94d4') +noextract=() +validpgpkeys=() + +build() { + cd "$pkgname-$pkgver" + mkdir -p build + cd build + cmake -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=/usr/lib \ + .. + make +} + +package() { + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir/" -C build install + install -vDm644 README.md -t "$pkgdir/usr/share/doc/$pkgname" +} |