summaryrefslogtreecommitdiff
path: root/user/xfce4-time-out-plugin
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-09-09 05:43:22 -0500
committerKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-09-09 05:43:22 -0500
commitb4413a798739cdefd0e495ff2bf5dff89075f44c (patch)
tree80f71954fbbf54667bcf503531cd6c8d53ae19d5 /user/xfce4-time-out-plugin
parent53bef7fd13c68d4362ffed71df76149bd3dc9c3a (diff)
downloadpackages-b4413a798739cdefd0e495ff2bf5dff89075f44c.tar.gz
packages-b4413a798739cdefd0e495ff2bf5dff89075f44c.tar.bz2
packages-b4413a798739cdefd0e495ff2bf5dff89075f44c.tar.xz
packages-b4413a798739cdefd0e495ff2bf5dff89075f44c.zip
user/xfce4-time-out-plugin: new package
Diffstat (limited to 'user/xfce4-time-out-plugin')
-rw-r--r--user/xfce4-time-out-plugin/APKBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/user/xfce4-time-out-plugin/APKBUILD b/user/xfce4-time-out-plugin/APKBUILD
new file mode 100644
index 000000000..910bd6425
--- /dev/null
+++ b/user/xfce4-time-out-plugin/APKBUILD
@@ -0,0 +1,44 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=xfce4-time-out-plugin
+pkgver=1.0.2
+pkgrel=0
+pkgdesc="Forced computer break plugin for the XFCE panel"
+url="https://xfce.org"
+arch="all"
+license="GPL-2.0+"
+makedepends="intltool libxfce4ui-dev xfce4-panel-dev"
+subpackages="$pkgname-lang"
+langdir="/usr/lib/locale"
+source="http://archive.xfce.org/src/panel-plugins/xfce4-time-out-plugin/1.0/xfce4-time-out-plugin-$pkgver.tar.bz2"
+
+prepare() {
+ cd "$builddir"
+ default_prepare
+ chmod a+w config.sub
+ update_config_sub
+}
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="3f49664fc8fd947627e40de0338e3a115806045c97fa08fd678fdbb831947bcfe14c02e9961d671ce7546d4913fd9319322476df590a70458bdf86fa3bd43464 xfce4-time-out-plugin-1.0.2.tar.bz2"