mirror of
https://github.com/arcan1s/pkgbuild.git
synced 2025-04-24 23:47:17 +00:00
Edited git-etc and food_gui
This commit is contained in:
parent
6133ab73f2
commit
859f5d8af3
@ -2,22 +2,28 @@
|
||||
# Maintainer: Evgeniy "arcanis" Alexeev <esalexeev@gmail.com>
|
||||
|
||||
pkgname=food_gui
|
||||
pkgver=1.2.0
|
||||
pkgrel=2
|
||||
pkgdesc="A simple program-calculator written on Python2.7 with GUI interface (Qt4)"
|
||||
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/raw/master/linux/${pkgname}-${pkgver}.tar.xz)
|
||||
md5sums=('a206c16e88313b29a02f6b400ce76498')
|
||||
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 ${pkgdir}/usr/bin/food_gui
|
||||
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/lib/food_gui/db_eng.dat ${pkgdir}/usr/lib/food_gui/db_eng.dat
|
||||
install -D -m644 ${srcdir}/usr/lib/food_gui/db_rus.dat ${pkgdir}/usr/lib/food_gui/db_rus.dat
|
||||
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
|
||||
}
|
||||
|
@ -2,17 +2,18 @@
|
||||
# Maintainer: Evgeniy "arcanis" Alexeev <esalexeev@gmail.com>
|
||||
|
||||
pkgname=git-etc
|
||||
pkgver=2.2.1
|
||||
pkgrel=1
|
||||
pkgver=2.2.2
|
||||
pkgrel=2
|
||||
pkgdesc="Simple daemon for monitoring changes in files"
|
||||
arch=('x86_64')
|
||||
url="https://github.com/arcan1s/git-etc"
|
||||
license=("GPL")
|
||||
depends=('bash' 'git')
|
||||
makedeps=('python2')
|
||||
optdepends=('python2-pyqt4: for GUI'
|
||||
'xterm: for GUI')
|
||||
source=(https://github.com/arcan1s/git-etc/releases/download/V.${pkgver}/${pkgname}-${pkgver}.tar.xz)
|
||||
md5sums=('32374e9285bc0cc330a4aea6932bbeb4')
|
||||
md5sums=('bffbefe3a2a5eb2fc4689d5400a01865')
|
||||
backup=('etc/conf.d/git-etc.conf')
|
||||
|
||||
package()
|
||||
@ -20,11 +21,7 @@ package()
|
||||
# daemon and gui
|
||||
install -D -m755 ${srcdir}/usr/bin/git-etc ${pkgdir}/usr/bin/git-etc
|
||||
install -D -m755 ${srcdir}/usr/bin/ctrlconf ${pkgdir}/usr/bin/ctrlconf
|
||||
install -D -m755 ${srcdir}/usr/lib/python2.7/site-packages/ctrlconf.py \
|
||||
${pkgdir}/usr/lib/python2.7/site-packages/ctrlconf.py
|
||||
mkdir -p ${pkgdir}/usr/lib/python2.7/site-packages/ctrlconf
|
||||
install -m644 -t ${pkgdir}/usr/lib/python2.7/site-packages/ctrlconf \
|
||||
${srcdir}/usr/lib/python2.7/site-packages/ctrlconf/*
|
||||
python2 setup.py install --root=${pkgdir}
|
||||
install -D -m644 ${srcdir}/usr/share/applications/ctrlconf.desktop \
|
||||
${pkgdir}/usr/share/applications/ctrlconf.desktop
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user