25 lines
770 B
Plaintext
25 lines
770 B
Plaintext
# Description: Program to update personal user details
|
|
# URL: https://launchpad.net/mugshot
|
|
# Packager: milisarge
|
|
# Depends on: intltool gtk3 python3-distutils-extra python3-pexpect dbus-python python3-cairo python3-gobject accountsservice
|
|
|
|
name=mugshot
|
|
version=0.3.2
|
|
release=1
|
|
source=(https://launchpad.net/mugshot/${version%.*}/0.3.2/+download/$name-$version.tar.gz::$name-$version.tar.gz
|
|
office-phone.patch
|
|
missing_default_face.patch)
|
|
|
|
build() {
|
|
cd "${SRC}/${name}-${version}"
|
|
patch -p1 -i "${SRC}"/office-phone.patch
|
|
cd "${SRC}"
|
|
patch -Np1 -i "${SRC}"/missing_default_face.patch
|
|
cd "${SRC}/${name}-${version}"
|
|
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
|
|
}
|