diff options
author | Philip Goto | 2018-08-16 16:25:59 +0200 |
---|---|---|
committer | Philip Goto | 2018-08-16 16:27:04 +0200 |
commit | 461db2e2e1197ea6f84d5ad8e6f799c88d4b8821 (patch) | |
tree | ca506334106709f1ed4d9f124447ede4b7d06d4c /PKGBUILD | |
download | aur-461db2e2e1197ea6f84d5ad8e6f799c88d4b8821.tar.gz |
Initialize package
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f5a6820b6d2d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,44 @@ +# Maintainer: Philip Goto <philip.goto@gmail.com> + +_pkgname=cros-adapta +pkgname=${_pkgname}-gtk-theme +pkgver=69 +pkgrel=1 +pkgdesc="Adapta crostini theme, the Chrome OS GTK+ theme" +url="https://chromium.googlesource.com/chromiumos/third_party/cros-adapta/" +arch=(any) +license=(GPL2) + +provides=(${_pkgname}-gtk-theme) +conflicts=(${_pkgname}-gtk-theme-git) +makedepends=("autoconf" + "automake" + "inkscape>=0.91" + "gdk-pixbuf2>=2.32.2" + "glib2>=2.48.0" + "libsass>=3.3" + "libxml2" + "pkgconf" + "sassc>=3.3" + "git") +depends=(gtk-engine-murrine + gtk3) + +source=("git+https://chromium.googlesource.com/chromiumos/third_party/${_pkgname}#branch=release-R69-10895.B") +sha256sums=('SKIP') + +build() { + cd ${_pkgname} + tools/extract_adapta.sh +} + +package() { + cd ${_pkgname} + + install -dm 755 "${pkgdir}"/usr/share/themes/cros-adapta + + cp -r gtk-2.0 "${pkgdir}"/usr/share/themes/cros-adapta/ + cp -r gtk-3.0 "${pkgdir}"/usr/share/themes/cros-adapta/ + cp -r gtk-3.22 "${pkgdir}"/usr/share/themes/cros-adapta/ + cp index.theme "${pkgdir}"/usr/share/themes/cros-adapta/ +} |