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 | |
download | aur-461db2e2e1197ea6f84d5ad8e6f799c88d4b8821.tar.gz |
Initialize package
-rw-r--r-- | .SRCINFO | 25 | ||||
-rw-r--r-- | PKGBUILD | 44 |
2 files changed, 69 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..33074b9047c7 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,25 @@ +pkgbase = cros-adapta-gtk-theme + pkgdesc = Adapta crostini theme, the Chrome OS GTK+ theme + pkgver = 69 + pkgrel = 1 + url = https://chromium.googlesource.com/chromiumos/third_party/cros-adapta/ + arch = any + license = GPL2 + makedepends = autoconf + makedepends = automake + makedepends = inkscape>=0.91 + makedepends = gdk-pixbuf2>=2.32.2 + makedepends = glib2>=2.48.0 + makedepends = libsass>=3.3 + makedepends = libxml2 + makedepends = pkgconf + makedepends = sassc>=3.3 + makedepends = git + depends = gtk-engine-murrine + depends = gtk3 + provides = cros-adapta-gtk-theme + source = git+https://chromium.googlesource.com/chromiumos/third_party/cros-adapta#branch=release-R69-10895.B + sha256sums = SKIP + +pkgname = cros-adapta-gtk-theme + 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/ +} |