summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorbart2019-08-30 10:43:49 +0200
committerbart2019-08-30 10:43:49 +0200
commit0069dae1ea26a1b65ac55f7ed00ed8e5f9bbf78b (patch)
treefc408a49cc36eb4ba3f41f06877c2f6f812315f8
downloadaur-lyriek.tar.gz
initial release
Signed-off-by: bart <b.willems@wimionline.be>
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD27
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..4b4150672a2
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = lyriek
+ pkgver = 0.1.0
+ pkgrel = 1
+ url = https://gitlab.com/bartwillems/lyriek
+ arch = x86_64
+ arch = i686
+ license = GPL3
+ makedepends = rust
+ makedepends = cargo
+ makedepends = git
+ makedepends = desktop-file-utils
+ depends = dbus
+ depends = gtk3
+ conflicts = lyriek-git
+ source = https://gitlab.com/bartwillems/lyriek/-/archive/0.1.0/lyriek-0.1.0.tar.gz
+ sha256sums = d9d359554fcf8a1dd21f7556a953b4949616c69c536f36d106f1193358e9525b
+
+pkgname = lyriek
+ pkgdesc = A multi-threaded GTK application to fetch lyrics of currently playing songs
+ provides = lyriek
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..6e9f94479c9
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+pkgname=lyriek
+pkgver=0.1.0
+pkgrel=1
+arch=('x86_64' 'i686')
+url="https://gitlab.com/bartwillems/lyriek"
+license=('GPL3')
+depends=('dbus' 'gtk3')
+makedepends=('rust' 'cargo' 'git' 'desktop-file-utils')
+conflicts=('lyriek-git')
+source=("https://gitlab.com/bartwillems/$pkgname/-/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('d9d359554fcf8a1dd21f7556a953b4949616c69c536f36d106f1193358e9525b')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ cargo build --release
+}
+
+package() {
+ pkgdesc="A multi-threaded GTK application to fetch lyrics of currently playing songs"
+ provides=('lyriek')
+
+ cd "$srcdir/$pkgname-$pkgver"
+
+ desktop-file-install -m 644 --dir "$pkgdir/usr/share/applications/" "extras/lyriek.desktop"
+ install -D -m755 "target/release/lyriek" "$pkgdir/usr/bin/lyriek"
+ install -D -m644 "assets/logo.svg" "$pkgdir/usr/share/icons/hicolor/scalable/apps/lyriek.svg"
+}