summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorKr1ss2020-02-03 03:17:09 +0100
committerKr1ss2020-02-03 03:17:09 +0100
commit18fad803d4bf6e35c04cb071ec49427ffb2c5624 (patch)
tree00be992b99773cbe6ee90b512fd0cef0b1ad0f67 /PKGBUILD
downloadaur-18fad803d4bf6e35c04cb071ec49427ffb2c5624.tar.gz
initial upload: ice-ssb-git 6.0.8.r3.961cd57-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..0b94f634222
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,45 @@
+# Maintainer : Kr1ss $(echo \<kr1ss+x-yandex+com\>|sed s/\+/./g\;s/\-/@/)
+
+
+_pkgname=ice
+pkgname=ice-ssb-git
+
+pkgver() {
+ git -C "$_pkgname" describe --tags | sed 's/v\?\([^-]\+\)-/\1.r/;s/-g/./'
+}
+pkgver=6.0.8.r3.961cd57
+pkgrel=1
+
+pkgdesc='Desktop integration for webapps'
+url="https://github.com/peppermintos/$_pkgname"
+arch=('any')
+license=('GPL2')
+
+provides=("${pkgname%-git}")
+conflicts=("${pkgname%-git}")
+
+makedepends=('git')
+depends=('python-requests' 'python-beautifulsoup4' 'python-gobject' 'python-lxml')
+optdepends=('brave' 'firefox' 'chromium' 'google-chrome' 'vivaldi')
+
+source=("git+$url.git" "$_pkgname.patch")
+sha256sums=('SKIP'
+ '8aaff26c46a803ea6fb3a9e442a6fed830ff5c70228939783ceaa33578af5732')
+
+
+prepare() {
+ cd "$_pkgname"
+ # patch browser binary filenames to match Archlinux packages
+ patch -Np1 <"../$_pkgname.patch"
+ # delete PeppermintOS specific assets
+ rm -r usr/lib
+}
+
+package() {
+ cd "$_pkgname"
+ cp -a --no-preserve=ownership usr "$pkgdir/"
+ install -Dm644 README.md -t"$pkgdir/usr/share/doc/$_pkgname/"
+}
+
+
+# vim: ts=4 sw=4 et ft=PKGBUILD: