diff options
author | Mark Blakeney | 2017-11-03 11:00:08 +1000 |
---|---|---|
committer | Mark Blakeney | 2017-11-03 11:02:31 +1000 |
commit | eabcddfb85396fa428d7d2c9b8828af5740391c9 (patch) | |
tree | 915327b66cccbd42c5037995a282e250b69eb789 | |
parent | 49872d353d3ad29cbc51930621b7fa081a0f5b31 (diff) | |
download | aur-eabcddfb85396fa428d7d2c9b8828af5740391c9.tar.gz |
Update PKGBUILD and add Makefile, gitignore etc
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | Makefile | 23 | ||||
-rw-r--r-- | PKGBUILD | 37 |
4 files changed, 51 insertions, 22 deletions
@@ -1,7 +1,7 @@ # Generated by mksrcinfo v8 -# Fri Oct 27 13:13:54 UTC 2017 +# Fri Nov 3 01:02:10 UTC 2017 pkgbase = skypeforlinux-bin - pkgdesc = Skype for Linux WebRTC Beta + pkgdesc = Skype for Linux - Insider/Preview Version pkgver = 8.10.76.2 pkgrel = 1 url = http://www.skype.com @@ -15,8 +15,8 @@ pkgbase = skypeforlinux-bin depends = libsecret depends = nss optdepends = gnome-keyring - provides = skypeforlinux - conflicts = skypeforlinux + provides = skypeforlinux-beta-bin + conflicts = skypeforlinux-beta-bin source = https://repo.skype.com/deb/pool/main/s/skypeforlinux/skypeforlinux_8.10.76.2_amd64.deb sha256sums = d88fd5c91865f1c6a4006c91f6be2ebd74e289c5ddfd44bd9d9d86895ae623c5 diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..0a6c7c718bce --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +pkg/ +src/ +*.tar +*.deb +*.[gx]z diff --git a/Makefile b/Makefile new file mode 100644 index 000000000000..aa18b46259dc --- /dev/null +++ b/Makefile @@ -0,0 +1,23 @@ +nam = $(shell sed -n 's/^_pkgname=//p' PKGBUILD) +src = PKGBUILD +inf = .SRCINFO +pkg = $(shell ls -v $(nam)*.pkg.tar* 2>/dev/null | tail -1) + +all: sum $(inf) + +$(inf): $(src) + mksrcinfo + +check: $(src) + namcap $^ +ifneq ($(strip $(pkg)),) + namcap $(pkg) +endif + +sum: $(src) + updpkgsums + +clean: + rm -rf $(inf) $(nam)-* *.tar.xz *.tar.gz pkg/ src/ *.part + +# vim: se ts=4: @@ -1,26 +1,27 @@ -# Maintainer: Jameson Pugh <imntreal@gmail.com> - -pkgname=skypeforlinux-bin +# Maintainer: mark.blakeney at bullet-systems dot net +# Original Maintainer: Jameson Pugh <imntreal@gmail.com> + +_pkgname=skypeforlinux +pkgname=$_pkgname-bin pkgver=8.10.76.2 pkgrel=1 -pkgdesc="Skype for Linux WebRTC Beta" -arch=('x86_64') +pkgdesc="Skype for Linux - Insider/Preview Version" +arch=("x86_64") url="http://www.skype.com" -license=('custom') -depends=('gtk2' 'libxss' 'gconf' 'alsa-lib' 'libxtst' 'libsecret' 'nss') -optdepends=('gnome-keyring') -conflicts=('skypeforlinux') -provides=('skypeforlinux') -source=("https://repo.skype.com/deb/pool/main/s/skypeforlinux/skypeforlinux_${pkgver}_amd64.deb") +license=("custom") +depends=("gtk2" "libxss" "gconf" "alsa-lib" "libxtst" "libsecret" "nss") +optdepends=("gnome-keyring") +conflicts=("$_pkgname-beta-bin") +provides=("$_pkgname-beta-bin") +source=("https://repo.skype.com/deb/pool/main/s/$_pkgname/${_pkgname}_${pkgver}_amd64.deb") sha256sums=('d88fd5c91865f1c6a4006c91f6be2ebd74e289c5ddfd44bd9d9d86895ae623c5') package() { - cd "${srcdir}" - - tar -xJC "${pkgdir}" -f data.tar.xz - install -d "${pkgdir}/usr/share/licenses/skypeforlinux-bin" - mv "${pkgdir}/usr/share/skypeforlinux/LICENSES.chromium.html" "${pkgdir}/usr/share/licenses/skypeforlinux-bin/" - rm -rf "${pkgdir}/opt" + tar -xJC "$pkgdir" -f data.tar.xz + install -d "$pkgdir/usr/share/licenses/$pkgname" + mv "$pkgdir/usr/share/$_pkgname/LICENSES.chromium.html" \ + "${pkgdir}/usr/share/licenses/$pkgname/" + rm -rf "$pkgdir/opt" } - + # vim:set ts=2 sw=2 et: |