diff options
author | aksr | 2015-06-28 07:40:32 +0200 |
---|---|---|
committer | aksr | 2015-06-28 07:40:32 +0200 |
commit | 45889f768466c9b3a8a8e824be3c8f9c642cf518 (patch) | |
tree | b0654b743cca37964fd31d90a476d1090f6b1165 | |
download | aur-wakeup-git.tar.gz |
Start.
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 32 |
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..243635fbf0f7 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = wakeup-git + pkgdesc = A timer that will wake your system from suspend to RAM. + pkgver = 49db7f6 + pkgrel = 1 + url = https://github.com/fogobogo/wakeup + arch = i686 + arch = x86_64 + license = GPL + makedepends = git + depends = linux-api-headers + depends = pm-utils + provides = wakeup + conflicts = wakeup + source = wakeup-git::git+https://github.com/fogobogo/wakeup.git + md5sums = SKIP + +pkgname = wakeup-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..68dcd98ba30b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Contributor: Sara <sara at archlinux dot us> +# Contributor: Jonas Heinrich <onny@project-insanity.org> +# Maintainer: aksr <aksr at t-com dot me> +pkgname=wakeup-git +pkgver=49db7f6 +pkgrel=1 +pkgdesc="A timer that will wake your system from suspend to RAM." +arch=('i686' 'x86_64') +url="https://github.com/fogobogo/wakeup" +license=('GPL') +depends=('linux-api-headers' 'pm-utils') +makedepends=('git') +provides=('wakeup') +conflicts=('wakeup') +source=("$pkgname::git+https://github.com/fogobogo/wakeup.git") +md5sums=('SKIP') + +pkgver(){ + cd "${srcdir}/$pkgname" + git describe --always | sed 's|-|.|g' +} + +build(){ + cd "${srcdir}/${pkgname}" + make +} + +package(){ + cd "${srcdir}/${pkgname}" + make PREFIX=/usr DESTDIR="${pkgdir}" install +} + |