summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXZS2016-02-16 11:40:52 +0100
committerXZS2016-02-16 11:40:52 +0100
commit461c968a1d97e2c9afcd1cfc6e2fc259124867ed (patch)
tree662569eb2e71558a7a37aa578e4d23bb403e19f5
parenteb4e2872112226930a7ab3d7ba0e55c682da0ced (diff)
downloadaur-461c968a1d97e2c9afcd1cfc6e2fc259124867ed.tar.gz
adapt to new directory structure
The relevant sources were recently moved into a dedicated directory. The package template expects everything it should install directly in the $srcdir. To restore compilation, the contents of the subdirectory have to be moved down, similar to how it is done with the git repository directory in the source-git-plain template. In turn, the new hierarchy makes it easier to then eliminate files not to be installed, as they now are mostly collected in directories.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 93b86db3eec2..04c7b94efab5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Sun Feb 7 20:06:59 UTC 2016
+# Tue Feb 16 10:40:40 UTC 2016
pkgbase = mozilla-extension-gnotifier-git
pkgdesc = Add-on for Firefox and Thunderbird to enable integration with GNOME native notification system.
pkgver = 1.9.2
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/mkiol/GNotifier
arch = any
license = GPL3
diff --git a/PKGBUILD b/PKGBUILD
index ddc9ebd680ff..fdd402d207d2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=mozilla-extension-gnotifier-git
pkgver=1.9.2
-pkgrel=1
+pkgrel=2
pkgdesc='Add-on for Firefox and Thunderbird to enable integration with GNOME native notification system.'
url='https://github.com/mkiol/GNotifier'
arch=('any')
@@ -45,7 +45,8 @@ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
- rm -r data doc *.xpi misc package.json *.md screenshot*.png test* win8*
+ cp -r --reflink=auto source/* .
+ rm -r xpi misc *.md win8* source
}
eval "package_$pkgname()" '{