# Tanım: Deepin için 2D pencere yöneticisi
# URL: https://github.com/linuxdeepin/deepin-metacity
# Paketçi: Cihan_Alkan
# Gerekler: dconf libcanberra libgtop xorg-libsm deepin-desktop-schemas gtk3 startup-notification zenity bamf intltool itstool autoconf-archive yelp-tools python
# Grup: masaüstü

isim=deepin-metacity
surum=3.22.22
devir=1
kaynak=(https://github.com/linuxdeepin/deepin-metacity/archive/$surum.tar.gz::$isim-$surum.tar.gz)

derle() {
  cd $isim-$surum
  ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/$isim \
               --disable-static --disable-schemas-compile
  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
  make
  make DESTDIR="${PKG}" install
}