summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorXZS2016-08-05 17:07:28 +0200
committerXZS2016-08-05 17:22:10 +0200
commit41b4a9aeee07273533a0bcd49e277b4412b46b43 (patch)
tree2c1e05ad62108f24e9be2b0a0be83c4e6bb3f56b /PKGBUILD
parentf79236c3529fe2b0fd481595634fdb25923d7e65 (diff)
downloadaur-41b4a9aeee07273533a0bcd49e277b4412b46b43.tar.gz
remove patches accepted upstream
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD20
1 files changed, 3 insertions, 17 deletions
diff --git a/PKGBUILD b/PKGBUILD
index dc70abee502..71f989e205f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,20 +1,13 @@
_npmname=vinefeed
pkgname="nodejs-$_npmname"
-pkgver=0.1.0
-pkgrel=2
+pkgver=0.1.0.r11
+pkgrel=1
pkgdesc="RSS/Atom feed generator for Vine users"
arch=(any)
url="http://github.com/tremby/vinefeed"
license=('GPL')
depends=('nodejs' 'npm')
optdepends=()
-source=("$_npmname".{service,socket}
- 'binary.patch'
- 'socket-activation.patch')
-md5sums=('e91569a2035064f52e321653ba26172e'
- '0de7e38748a53ec8d96c2dd645e8bb2e'
- '8b8cd5d387347f3632a80827b161bd76'
- '8f4df9f6102f3078bebe89213320492a')
makedepends+=('git')
source+=("${_gitname:=${pkgname%-git}}::${_giturl:-git+$url}")
@@ -22,12 +15,6 @@ md5sums+=('SKIP')
provides+=("$_gitname=$pkgver")
conflicts+=("$_gitname")
-prepare() {
- cd "$_gitname"
- patch -p1 -i ../binary.patch
- patch -F3 -p1 -i ../socket-activation.patch
-}
-
pkgver() {
cd "$_gitname"
grep -Po '(?<="version": ").*(?=")' package.json | tr '\n' '.'
@@ -35,9 +22,8 @@ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
- install -Dt "$pkgdir/usr/lib/systemd/user/" "$_npmname".{service,socket}
-
cd "$_gitname"
npm install -g --prefix "$pkgdir/usr" --production
+ install -Dt "$pkgdir/usr/lib/systemd/user/" "$_npmname".{service,socket}
rmdir "$pkgdir/usr/etc"
}