summaryrefslogtreecommitdiffstats
path: root/pkg
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2018-02-11 20:18:56 -0500
committerAndrew Gallant <jamslam@gmail.com>2018-02-11 20:18:56 -0500
commit555fbd12011776ee2893d641fa3d6e3ac0c28586 (patch)
treea7ff4321415a249a1107b3ca398fc2b674935cf5 /pkg
parentf3146f831655b409821ac7bc6f43975e212150a8 (diff)
pkg: delete Archlinux PKGBUILD
Other people are maintaining it and it has bitrotted anyway.
Diffstat (limited to 'pkg')
-rw-r--r--pkg/archlinux/.gitignore4
-rw-r--r--pkg/archlinux/PKGBUILD37
2 files changed, 0 insertions, 41 deletions
diff --git a/pkg/archlinux/.gitignore b/pkg/archlinux/.gitignore
deleted file mode 100644
index 8bbcbc07..00000000
--- a/pkg/archlinux/.gitignore
+++ /dev/null
@@ -1,4 +0,0 @@
-*.xz
-src
-pkg
-*.gz
diff --git a/pkg/archlinux/PKGBUILD b/pkg/archlinux/PKGBUILD
deleted file mode 100644
index 3b843bc9..00000000
--- a/pkg/archlinux/PKGBUILD
+++ /dev/null
@@ -1,37 +0,0 @@
-# Contributor: Andrew Gallant <jamslam@gmail.com>
-# Maintainer: Andrew Gallant
-pkgname=ripgrep
-pkgver=0.2.3
-pkgrel=1
-pkgdesc="A search tool that combines the usability of The Silver Searcher with the raw speed of grep."
-arch=('i686' 'x86_64')
-url="https://github.com/BurntSushi/ripgrep"
-license=('UNLICENSE')
-makedepends=('cargo')
-source=("https://github.com/BurntSushi/$pkgname/archive/$pkgver.tar.gz")
-sha256sums=('a88531558d2023df76190ea2e52bee50d739eabece8a57df29abbad0c6bdb917')
-
-build() {
- cd "$pkgname-$pkgver"
- if command -v rustup > /dev/null 2>&1; then
- RUSTFLAGS="-C target-cpu=native" rustup run nightly \
- cargo build --release --features simd-accel
- elif rustc --version | grep -q nightly; then
- RUSTFLAGS="-C target-cpu=native" \
- cargo build --release --features simd-accel
- else
- cargo build --release
- fi
-}
-
-package() {
- cd "$pkgname-$pkgver"
-
- install -Dm755 "target/release/rg" "$pkgdir/usr/bin/rg"
- install -Dm644 "doc/rg.1" "$pkgdir/usr/share/man/man1/rg.1"
- install -Dm644 "README.md" "$pkgdir/usr/share/doc/ripgrep/README.md"
- install -Dm644 "COPYING" "$pkgdir/usr/share/doc/ripgrep/COPYING"
- install -Dm644 "LICENSE-MIT" "$pkgdir/usr/share/doc/ripgrep/LICENSE-MIT"
- install -Dm644 "UNLICENSE" "$pkgdir/usr/share/doc/ripgrep/UNLICENSE"
- install -Dm644 "CHANGELOG.md" "$pkgdir/usr/share/doc/ripgrep/CHANGELOG.md"
-}