summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitris Kiziridis2020-07-16 06:26:22 +0300
committerDimitris Kiziridis2020-07-16 06:26:22 +0300
commit85fe6f036c71525198b052d4701569865ed5c674 (patch)
treebc0c5f464aaeb7d7bd7ca213bd2a83debd729e28
downloadaur-85fe6f036c71525198b052d4701569865ed5c674.tar.gz
Initial commit
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD49
2 files changed, 69 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c8a86145104
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = lplayer-git
+ pkgdesc = A simple audio player for simply listening music or whatever you want
+ pkgver = r65.e241d26
+ pkgrel = 1
+ url = https://github.com/atareao/lplayer
+ arch = any
+ license = MIT
+ makedepends = git
+ depends = python-mutagen
+ depends = python-dbus
+ depends = python-requests
+ depends = gobject-introspection
+ depends = gstreamer
+ depends = hicolor-icon-theme
+ provides = lplayer
+ source = lplayer::git+https://github.com/atareao/lplayer
+ sha256sums = SKIP
+
+pkgname = lplayer-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b87cdf365bb
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,49 @@
+# Maintainer: Dimitris Kiziridis <ragouel at outlook dot com>
+
+pkgname=lplayer-git
+_pkgname=lplayer
+pkgver=r65.e241d26
+pkgrel=1
+pkgdesc='A simple audio player for simply listening music or whatever you want'
+arch=('any')
+url='https://github.com/atareao/lplayer'
+license=('MIT')
+provides=('lplayer')
+depends=('python-mutagen'
+ 'python-dbus'
+ 'python-requests'
+ 'gobject-introspection'
+ 'gstreamer'
+ 'hicolor-icon-theme')
+makedepends=('git')
+source=("${_pkgname}::git+https://github.com/atareao/lplayer")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "${_pkgname}"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+package() {
+ cd "${_pkgname}"
+ install -d "${pkgdir}/usr/share/lplayer/lplayer" "${pkgdir}/usr/share/lplayer/icons"
+ install -Dm755 bin/lplayer -t "${pkgdir}/usr/bin"
+ cp -avR src/lplayer/*.py "${pkgdir}/usr/share/lplayer/lplayer"
+ install -Dm644 debian/changelog -t "${pkgdir}/usr/share/lplayer"
+ install -Dm644 data/lplayer-player.desktop -t "${pkgdir}/usr/share/applications"
+ cp -av data/icons/*.svg "${pkgdir}/usr/share/lplayer/icons"
+ cp -av data/icons/*.gif "${pkgdir}/usr/share/lplayer/icons"
+ install -Dm644 data/icons/lplayer.svg -t "${pkgdir}/usr/share/icons/hicolor/scalable/apps"
+ install -Dm644 data/icons/8x8/lplayer.png -t "${pkgdir}/usr/share/icons/hicolor/8x8/apps"
+ install -Dm644 data/icons/16x16/lplayer.png -t "${pkgdir}/usr/share/icons/hicolor/16x16/apps"
+ install -Dm644 data/icons/32x32/lplayer.png -t "${pkgdir}/usr/share/icons/hicolor/32x32/apps"
+ install -Dm644 data/icons/48x48/lplayer.png -t "${pkgdir}/usr/share/icons/hicolor/48x48/apps"
+ install -Dm644 data/icons/96x96/lplayer.png -t "${pkgdir}/usr/share/icons/hicolor/96x96/apps"
+ install -Dm644 data/icons/128x128/lplayer.png -t "${pkgdir}/usr/share/icons/hicolor/128x128/apps"
+ install -Dm644 data/icons/192x192/lplayer.png -t "${pkgdir}/usr/share/icons/hicolor/192x192/apps"
+ install -Dm644 data/icons/256x256/lplayer.png -t "${pkgdir}/usr/share/icons/hicolor/256x256/apps"
+ install -Dm644 data/icons/512x512/lplayer.png -t "${pkgdir}/usr/share/icons/hicolor/512x512/apps"
+ install -Dm644 data/icons/1024x1024/lplayer.png -t "${pkgdir}/usr/share/icons/hicolor/1024x1024/apps"
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+# vim:set ts=2 sw=2 et: \ No newline at end of file