# Tanım: Cinnamon masaüstü ile entegre olacak şekilde tasarlanan ekran koruyucu
# URL: https://github.com/linuxmint/cinnamon-screensaver
# Paketçi: Cihan_Alkan
# Gerekler: intltool gobject-introspection python-gobject python-cairo python3 gtk3
# Grup: sistem

isim=cinnamon-screensaver
surum=4.0.3
devir=1
kaynak=(https://github.com/linuxmint/$isim/archive/$surum.tar.gz::$isim-$surum.tar.gz
        cinnamon-screensaver.pam)

derle() {
  cd $isim-$surum
    autoreconf -fi
    ./configure --prefix=/usr \
                --sysconfdir=/etc \
                --libexecdir=/usr/lib/cinnamon-screensaver \
                --localstatedir=/var
    make
  make DESTDIR=$PKG install
install -Dm644 ../cinnamon-screensaver.pam "${PKG}"/etc/pam.d/cinnamon-screensaver
}