mugshot
This commit is contained in:
parent
c403a569d9
commit
58fe9c5644
2 changed files with 1 additions and 4 deletions
Binary file not shown.
|
@ -8,8 +8,7 @@ version=0.3.2
|
||||||
release=1
|
release=1
|
||||||
source=(https://launchpad.net/mugshot/${version%.*}/0.3.2/+download/$name-$version.tar.gz::$name-$version.tar.gz
|
source=(https://launchpad.net/mugshot/${version%.*}/0.3.2/+download/$name-$version.tar.gz::$name-$version.tar.gz
|
||||||
office-phone.patch
|
office-phone.patch
|
||||||
missing_default_face.patch
|
missing_default_face.patch)
|
||||||
fix-local.patch.gz)
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "${SRC}/${name}-${version}"
|
cd "${SRC}/${name}-${version}"
|
||||||
|
@ -17,8 +16,6 @@ build() {
|
||||||
cd "${SRC}"
|
cd "${SRC}"
|
||||||
patch -Np1 -i "${SRC}"/missing_default_face.patch
|
patch -Np1 -i "${SRC}"/missing_default_face.patch
|
||||||
cd "${SRC}/${name}-${version}"
|
cd "${SRC}/${name}-${version}"
|
||||||
zcat $SRC/fix-local.patch.gz | patch -p1 --verbose || exit 1
|
|
||||||
sed -i 's/^Categories=*.*/Categories=X-XFCE;GTK;DesktopSettings;/g' mugshot.desktop.in
|
|
||||||
python3 setup.py build
|
python3 setup.py build
|
||||||
python3 setup.py install --root=$PKG --optimize=1
|
python3 setup.py install --root=$PKG --optimize=1
|
||||||
if [ -d $PKG/usr/share/doc ]; then
|
if [ -d $PKG/usr/share/doc ]; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue