2013-12-16 14:25:04 +01:00
|
|
|
# Template file for 'cinnamon-screensaver'
|
|
|
|
pkgname=cinnamon-screensaver
|
2014-08-30 18:39:13 +02:00
|
|
|
version=2.2.4
|
2014-08-31 13:39:02 +02:00
|
|
|
revision=3
|
2013-12-16 14:25:04 +01:00
|
|
|
patch_args="-Np1"
|
|
|
|
short_desc="The Cinnamon screensaver"
|
|
|
|
build_style=gnu-configure
|
2014-08-30 20:36:56 +02:00
|
|
|
configure_args=" --disable-static --disable-schemas-compile --with-mit-ext
|
|
|
|
$(vopt_enable systemd)"
|
2013-12-16 14:25:04 +01:00
|
|
|
hostmakedepends="automake libtool gnome-common pkg-config gobject-introspection
|
2014-08-30 20:36:56 +02:00
|
|
|
gettext-devel intltool git"
|
2013-12-16 14:25:04 +01:00
|
|
|
makedepends="dbus-glib-devel libgnomekbd-devel cinnamon-desktop-devel
|
2014-08-30 20:36:56 +02:00
|
|
|
libXxf86misc-devel pam-devel $(vopt_if systemd systemd-devel)"
|
2014-01-01 16:10:11 +01:00
|
|
|
depends="cinnamon-translations desktop-file-utils hicolor-icon-theme"
|
|
|
|
conf_files="/etc/pam.d/${pkgname}"
|
2013-12-16 14:25:04 +01:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="GPL-3"
|
|
|
|
homepage="http://cinnamon.linuxmint.com/"
|
2014-11-01 19:44:30 +01:00
|
|
|
update_site="https://api.github.com/repos/linuxmint/$pkgname/tags"
|
|
|
|
update_pattern='"name":\s*"\K[^\d]*([\d\.]+)(?=")'
|
2013-12-16 14:25:04 +01:00
|
|
|
|
2014-08-30 20:36:56 +02:00
|
|
|
build_options="systemd"
|
|
|
|
|
2013-12-16 14:25:04 +01:00
|
|
|
do_fetch() {
|
|
|
|
git clone -b ${version} git://github.com/linuxmint/${pkgname} ${pkgname}-${version}
|
|
|
|
}
|
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
|
|
}
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vinstall ${FILESDIR}/${pkgname}.pam 644 etc/pam.d ${pkgname}
|
|
|
|
}
|