diff options
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 31 |
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..b1e1b02 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +# Generated by makepkg 4.2.1 +# Mon Jun 1 14:54:45 UTC 2015 +pkgbase = yawa-git + pkgdesc = A tool which allows you to compose wallpapers for X. + pkgver = 0.0.1.r0.g1f4c8ac + pkgrel = 1 + url = http://git.kyriasis.com/kyrias/yawa/about/ + arch = i686 + arch = x86_64 + license = GPL + makedepends = git + depends = imlib2 + depends = libx11 + source = git+http://git.kyriasis.com/kyrias/yawa + sha1sums = SKIP + +pkgname = yawa-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..c73ccb1 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +pkgname=yawa-git +pkgver=0.0.1.r0.g1f4c8ac +pkgrel=1 + +pkgdesc='A tool which allows you to compose wallpapers for X.' +url='http://git.kyriasis.com/kyrias/yawa/about/' +arch=('i686' 'x86_64') +license=('GPL') + +depends=('imlib2' 'libx11') +makedepends=('git') + +source=('git+http://git.kyriasis.com/kyrias/yawa') + +sha1sums=('SKIP') + +pkgver() { + cd yawa + git describe --long | sed -r 's/([^-]*-g)/r\1/;s/-/./g' +} + +build() { + cd yawa + cmake -g 'Unix Makefiles' . -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd yawa + make DESTDIR="$pkgdir" install +} |