From fabc5c5f7b5e46c1be4ea32a8d8d3ee8db5002b6 Mon Sep 17 00:00:00 2001 From: Jerry Date: Wed, 4 Sep 2019 16:54:26 +0800 Subject: [PATCH] add package: paper-icon-theme-git --- paper-icon-theme-git/.SRCINFO | 16 ++++++++++++++++ paper-icon-theme-git/PKGBUILD | 27 +++++++++++++++++++++++++++ paper-icon-theme-git/autobuild.yaml | 2 ++ 3 files changed, 45 insertions(+) create mode 100644 paper-icon-theme-git/.SRCINFO create mode 100644 paper-icon-theme-git/PKGBUILD create mode 100644 paper-icon-theme-git/autobuild.yaml diff --git a/paper-icon-theme-git/.SRCINFO b/paper-icon-theme-git/.SRCINFO new file mode 100644 index 0000000..e00a5c2 --- /dev/null +++ b/paper-icon-theme-git/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = paper-icon-theme-git + pkgdesc = Paper is an icon theme for GTK based desktops and fits perfectly the paper-gtk-theme + pkgver = 805.8c7bf8d2 + pkgrel = 1 + url = https://github.com/snwh/paper-icon-theme + arch = any + license = CC BY-SA 4.0 + makedepends = git + makedepends = meson + depends = gtk-update-icon-cache + provides = paper-icon-theme + source = paper-icon-theme-git::git+https://github.com/snwh/paper-icon-theme.git + md5sums = SKIP + +pkgname = paper-icon-theme-git + diff --git a/paper-icon-theme-git/PKGBUILD b/paper-icon-theme-git/PKGBUILD new file mode 100644 index 0000000..022869a --- /dev/null +++ b/paper-icon-theme-git/PKGBUILD @@ -0,0 +1,27 @@ +pkgname=paper-icon-theme-git +pkgver=805.8c7bf8d2 +pkgrel=1 +pkgdesc="Paper is an icon theme for GTK based desktops and fits perfectly the paper-gtk-theme" +arch=(any) +url="https://github.com/snwh/paper-icon-theme" +license=('CC BY-SA 4.0') +depends=('gtk-update-icon-cache') +makedepends=('git' 'meson') +provides=('paper-icon-theme') +source=("$pkgname"::'git+https://github.com/snwh/paper-icon-theme.git') +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/$pkgname" + echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD) +} + +build() { + cd "${pkgname}" + meson build --prefix=/usr +} + +package() { + cd "${pkgname}" + DESTDIR="$pkgdir" ninja -C "build" install +} diff --git a/paper-icon-theme-git/autobuild.yaml b/paper-icon-theme-git/autobuild.yaml new file mode 100644 index 0000000..ad25ff3 --- /dev/null +++ b/paper-icon-theme-git/autobuild.yaml @@ -0,0 +1,2 @@ +type: + auto