diff options
author | arcan1s | 2015-06-08 19:55:55 +0300 |
---|---|---|
committer | arcan1s | 2015-06-08 19:55:55 +0300 |
commit | af877458661394daaacd6301e17e77c4578dd3dc (patch) | |
tree | b636829451a758f3613ce9d2a43a850aba362d5a | |
download | aur-af877458661394daaacd6301e17e77c4578dd3dc.tar.gz |
upload food_gui
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..37d6fcdf8bb4 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = food_gui + pkgdesc = A simple calculator, that calculates proteins, fats, carbohydrates, food energy and glycemic index + pkgver = 1.2.1 + pkgrel = 1 + url = https://github.com/arcan1s/food_gui + arch = i686 + arch = x86_64 + license = GPL + depends = python2-pyqt4 + source = https://github.com/arcan1s/food_gui/releases/download/V.1.2.1/food_gui-1.2.1-src.zip + md5sums = f4f6df25131af05ae4ec8b03936cedc9 + +pkgname = food_gui + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..216154129e27 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Author: Evgeniy "arcanis" Alexeev <esalexeev@gmail.com> +# Maintainer: Evgeniy "arcanis" Alexeev <esalexeev@gmail.com> + +pkgname=food_gui +pkgver=1.2.1 +pkgrel=1 +pkgdesc="A simple calculator, that calculates proteins, fats, carbohydrates, food energy and glycemic index" +arch=('i686' 'x86_64') +url="https://github.com/arcan1s/food_gui" +license=('GPL') +depends=('python2-pyqt4') +source=(https://github.com/arcan1s/food_gui/releases/download/V.${pkgver}/${pkgname}-${pkgver}-src.zip) +md5sums=('f4f6df25131af05ae4ec8b03936cedc9') + +package() +{ + install -D -m755 "${srcdir}/usr/bin/food_gui.sh" "${pkgdir}/usr/bin/food_gui" + python2 setup.py install --root="${pkgdir}" + install -D -m644 "${srcdir}/usr/share/applications/food_gui.desktop" \ + "${pkgdir}/usr/share/applications/food_gui.desktop" + install -D -m644 "${srcdir}/usr/share/icons/hicolor/32x32/apps/food_gui.png" \ + "${pkgdir}/usr/share/icons/hicolor/32x32/apps/food_gui.png" + install -D -m644 "${srcdir}/usr/share/pixmaps/food_gui.png" "${pkgdir}/usr/share/pixmaps/food_gui.png" + + install -D -m644 "${srcdir}/usr/share/food_gui/db_eng.dat" "${pkgdir}/usr/share/food_gui/db_eng.dat" + install -D -m644 "${srcdir}/usr/share/food_gui/db_rus.dat" "${pkgdir}/usr/share/food_gui/db_rus.dat" + + install -D -m644 "${srcdir}/usr/share/man/man1/food_gui.1" "${pkgdir}/usr/share/man/man1/food_gui.1" +} |