diff options
author | Bilal Elmoussaoui | 2017-01-30 23:52:38 +0100 |
---|---|---|
committer | Bilal Elmoussaoui | 2017-01-30 23:52:38 +0100 |
commit | 3efe1771d03d03e037ac3cd86f7c712ed49b469f (patch) | |
tree | 503b2d7e3e5abdb4ab457ca65d4c41d8218395f5 | |
download | aur-3efe1771d03d03e037ac3cd86f7c712ed49b469f.tar.gz |
first release
-rw-r--r-- | .SRCINFO | 31 | ||||
-rw-r--r-- | PKGBUILD | 34 | ||||
-rw-r--r-- | icon-requests.install | 13 |
3 files changed, 78 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..7c9f61a5f195 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,31 @@ +pkgbase = icon-requests + pkgdesc = A Gtk application to report missing icons to your theme repository + pkgver = 0.1 + pkgrel = 1 + url = https://github.com/bil-elmoussaoui/Icon-Requests + install = icon-requests.install + arch = i686 + arch = x86_64 + license = GPL3 + makedepends = gnome-common + makedepends = meson + makedepends = ninja + makedepends = intltool + makedepends = itstool + makedepends = python + makedepends = yelp-tools + depends = desktop-file-utils + depends = gobject-introspection + depends = gtk3 + depends = python-pillow + depends = python-gobject + depends = python-cairosvg + depends = python-requests + depends = python-xdg + provides = icon-requests=0.1 + options = !emptydirs + source = https://github.com/bil-elmoussaoui/Icon-Requests/archive/v0.1.tar.gz + md5sums = ab88a358cab92865b813aa14bc764160 + +pkgname = icon-requests + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5b92657d2bca --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: ELmoussaoui Bilal <bil.elmoussaoui@gmail.com> + +pkgname=icon-requests +_gitname=Icon-Requests +pkgver=0.1 +pkgrel=1 +pkgdesc='A Gtk application to report missing icons to your theme repository' +arch=('i686' 'x86_64') +license=('GPL3') +url="https://github.com/bil-elmoussaoui/${_gitname}" +depends=('desktop-file-utils' 'gobject-introspection' 'gtk3' 'python-pillow' 'python-gobject' 'python-cairosvg' 'python-requests' 'python-xdg') +makedepends=('gnome-common' 'meson' 'ninja' 'intltool' 'itstool' 'python' 'yelp-tools') + +options=('!emptydirs') +install=icon-requests.install +source=("https://github.com/bil-elmoussaoui/${_gitname}/archive/v${pkgver}.tar.gz") +md5sums=('ab88a358cab92865b813aa14bc764160') +provides=("icon-requests=$pkgver") + +prepare(){ + cd "$srcdir/${_gitname}-${pkgver}" + mkdir -p build +} + +build() { + cd "$srcdir/${_gitname}-${pkgver}/build" + meson --prefix=/usr .. + ninja -j1 +} + +package() { + cd "$srcdir/${_gitname}-${pkgver}/build" + DESTDIR="${pkgdir}" ninja install +} diff --git a/icon-requests.install b/icon-requests.install new file mode 100644 index 000000000000..ffc8ad906888 --- /dev/null +++ b/icon-requests.install @@ -0,0 +1,13 @@ +post_install() { + glib-compile-schemas usr/share/glib-2.0/schemas + update-desktop-database -q + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +}
\ No newline at end of file |