milis/talimatname/genel/m/mugshot/talimat

25 lines
749 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Program to update personal user details
2017-08-26 15:24:33 +02:00
# URL: https://launchpad.net/mugshot
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: intltool gtk3 python3-distutils-extra python3-pexpect dbus-python python3-cairo python3-gobject accountsservice
2017-08-26 15:24:33 +02:00
2017-10-28 14:10:23 +02:00
isim=mugshot
surum=0.3.2
devir=1
kaynak=(https://launchpad.net/mugshot/${surum%.*}/0.3.2/+download/$isim-$surum.tar.gz::$isim-$surum.tar.gz
2017-08-26 15:24:33 +02:00
office-phone.patch
2017-08-26 15:39:20 +02:00
missing_default_face.patch)
2017-08-26 15:24:33 +02:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd "${SRC}/${isim}-${surum}"
2017-08-26 15:24:33 +02:00
patch -p1 -i "${SRC}"/office-phone.patch
cd "${SRC}"
patch -Np1 -i "${SRC}"/missing_default_face.patch
2017-10-28 14:10:23 +02:00
cd "${SRC}/${isim}-${surum}"
2017-08-26 15:24:33 +02:00
python3 setup.py build
python3 setup.py install --root=$PKG --optimize=1
if [ -d $PKG/usr/share/doc ]; then
rm -rf $PKG/usr/share/doc
fi
}