diff options
author | Oleksii Filonenko | 2018-01-09 17:26:58 +0200 |
---|---|---|
committer | Oleksii Filonenko | 2018-01-09 17:37:16 +0200 |
commit | 591d720ccdb7563537ce5c1a82be42d44c313081 (patch) | |
tree | 5cc35f0380e92d9d7d95bb7b834ed620b092998a | |
download | aur-mal-gtk.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 30 | ||||
-rw-r--r-- | mal-gtk.desktop | 6 |
3 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..a370ec8ba1ff --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = mal-gtk + pkgdesc = GTK+3 interface for MyAnimeList.net + pkgver = latest + pkgrel = 1 + url = https://github.com/filalex77/mal-gtk + arch = any + license = GPLv3 + makedepends = meson + makedepends = python>=3 + depends = gtkmm3 + depends = libsecret + depends = libxml2 + depends = libcurl.so + source = git+https://github.com/filalex77/mal-gtk.git + source = mal-gtk.desktop + md5sums = SKIP + md5sums = e2fd1a6db4a0bd70cca3195023ca7e72 + +pkgname = mal-gtk + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e37f0a3422c4 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +pkgname=mal-gtk +pkgver=latest +pkgrel=1 +pkgdesc="GTK+3 interface for MyAnimeList.net" +url="https://github.com/filalex77/${pkgname}" +license=('GPLv3') +arch=('any') +depends=('gtkmm3' 'libsecret' 'libxml2' 'libcurl.so') +makedepends=('meson' 'python>=3') +source=(git+https://github.com/filalex77/${pkgname}.git + 'mal-gtk.desktop') +md5sums=('SKIP' + 'e2fd1a6db4a0bd70cca3195023ca7e72') + +build() { + cd ${srcdir}/${pkgname} + [[ -d build ]] && rm -rf build + mkdir build && cd build + PKG_CONFIG_PATH=`pwd`/../pkgconfig meson --prefix /usr + ninja +} + +package() { + cd ${srcdir}/${pkgname}/build + DESTDIR=${pkgdir} ninja install + + # .desktop + mkdir -p "$pkgdir"/usr/share/applications + install -m644 ${srcdir}/${pkgname}.desktop "$pkgdir"/usr/share/applications +} diff --git a/mal-gtk.desktop b/mal-gtk.desktop new file mode 100644 index 000000000000..4737b6f922b1 --- /dev/null +++ b/mal-gtk.desktop @@ -0,0 +1,6 @@ +[Desktop Entry] +Encoding=UTF-8 +Type=Application +Name=mal-gtk +Exec=/usr/bin/mal-gtk +Categories=Anime;Network; |