summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorXZS2016-02-16 11:40:52 +0100
committerXZS2016-02-16 11:40:52 +0100
commit461c968a1d97e2c9afcd1cfc6e2fc259124867ed (patch)
tree662569eb2e71558a7a37aa578e4d23bb403e19f5 /PKGBUILD
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.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 3 insertions, 2 deletions
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()" '{