milis/talimatname/genel/m/mugshot/talimat

25 lines
749 B
Plaintext
Raw Normal View History

2018-06-09 00:06:58 +02:00
# Tanım: Program to update personal user details
# URL: https://launchpad.net/mugshot
# Paketçi: milisarge
# Gerekler: intltool gtk3 python3-distutils-extra python3-pexpect dbus-python python3-cairo python3-gobject accountsservice
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
office-phone.patch
missing_default_face.patch)
derle() {
cd "${SRC}/${isim}-${surum}"
patch -p1 -i "${SRC}"/office-phone.patch
cd "${SRC}"
patch -Np1 -i "${SRC}"/missing_default_face.patch
cd "${SRC}/${isim}-${surum}"
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
}