diff options
author | David Keogh | 2015-09-26 17:52:13 -0700 |
---|---|---|
committer | David Keogh | 2015-09-26 17:52:13 -0700 |
commit | eed6f765c5703bf0a877b4c45b6b2bf7d32ca66e (patch) | |
tree | 21163cdd7a4141b2ebaa2007fabd7a6d493877d4 | |
download | aur-eed6f765c5703bf0a877b4c45b6b2bf7d32ca66e.tar.gz |
Initial packaging
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 30 |
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ee36465f51d2 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = flatabulous-theme-git + pkgdesc = This is a Flat theme for Ubuntu and other Gnome based Linux Systems. + pkgver = 11.e465c31 + pkgrel = 1 + url = https://github.com/anmoljagetia/Flatabulous/ + arch = any + license = MIT + makedepends = git + conflicts = flatabulous-theme + source = git+https://github.com/anmoljagetia/Flatabulous.git + sha256sums = SKIP + +pkgname = flatabulous-theme-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..8abe1e9e5fe7 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: David Keogh <davekeogh@archlinux.us> + +pkgname=flatabulous-theme-git +_pkgname=Flatabulous +pkgver=11.e465c31 +pkgrel=1 +pkgdesc="This is a Flat theme for Ubuntu and other Gnome based Linux Systems." +arch=('any') +url="https://github.com/anmoljagetia/Flatabulous/" +license=('MIT') +makedepends=('git') +source=("git+https://github.com/anmoljagetia/Flatabulous.git") +sha256sums=('SKIP') +conflicts=('flatabulous-theme') + +pkgver() { + cd "${srcdir}/${_pkgname}" + echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" +} + +package() { + install -D -m644 "${srcdir}/${_pkgname}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -d -m755 "${pkgdir}/usr/share/themes/" + + cp -r ${_pkgname} "${pkgdir}/usr/share/themes/" + + rm -rf "${pkgdir}/usr/share/themes/${_pkgname}/.git/" + rm "${pkgdir}/usr/share/themes/${_pkgname}/LICENSE" +} + |