Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
aports
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TBK
aports
Commits
d7903d37
Verified
Commit
d7903d37
authored
Jan 24, 2021
by
TBK
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testing/ijq: new aport
parent
77e06744
Pipeline
#69426
passed with stages
in 1 minute and 44 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
57 additions
and
0 deletions
+57
-0
testing/ijq/APKBUILD
testing/ijq/APKBUILD
+27
-0
testing/ijq/makefile-destdir.patch
testing/ijq/makefile-destdir.patch
+30
-0
No files found.
testing/ijq/APKBUILD
0 → 100644
View file @
d7903d37
# Contributor: TBK <alpine@jjtc.eu>
# Maintainer: TBK <alpine@jjtc.eu>
pkgname
=
ijq
pkgver
=
0.2.3
pkgrel
=
0
pkgdesc
=
"Interactive jq tool"
url
=
"https://git.sr.ht/~gpanders/ijq/"
arch
=
"all"
license
=
"GPL-3.0-or-later"
options
=
"!check"
# no test suite
makedepends
=
"go scdoc"
subpackages
=
"
$pkgname
-doc"
source
=
"
$pkgname
-
$pkgver
.tar.gz::https://git.sr.ht/~gpanders/ijq/archive/v
$pkgver
.tar.gz
makefile-destdir.patch
"
builddir
=
"
$srcdir
/
$pkgname
-v
$pkgver
"
build
()
{
make
}
package
()
{
DESTDIR
=
"
$pkgdir
"
make
PREFIX
=
/usr
install
}
sha512sums
=
"ecced0f86c23b6fcb19addb944f7c2b7589895672fc625652f40dab466cbd5da9c0fa4522c897a0578c2bc5e2c0a7f8c36a1a5ad19e545d92ec1ed386948aea1 ijq-0.2.3.tar.gz
0d7de6f9099d9bb86977f924e6dd7c910d3b85d130a7d7e27634075bb41e45a899165540c638204fa896bfc92e46797883f757d29632df8fc78b7026dc59888b makefile-destdir.patch"
testing/ijq/makefile-destdir.patch
0 → 100644
View file @
d7903d37
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
-prefix = /usr/local
-bindir = $(prefix)/bin
-mandir = $(prefix)/share/man
+PREFIX = /usr/local
+BINDIR = $(PREFIX)/bin
+MANDIR = $(PREFIX)/share/man
SRCS = main.go
@@ -20,13 +20,13 @@
.PHONY: install
install: ijq ijq.1
- install -d $(bindir) $(mandir)/man1
- install -m 0755 ijq $(bindir)
- install -m 0644 ijq.1 $(mandir)/man1
+ install -d $(DESTDIR)$(BINDIR) $(DESTDIR)$(MANDIR)/man1
+ install -m 0755 ijq -t $(DESTDIR)$(BINDIR)/
+ install -m 0644 ijq.1 -t $(DESTDIR)$(MANDIR)/man1/
.PHONY: uninstall
uninstall:
- rm $(bindir)/ijq $(mandir)/man1/ijq.1
+ rm $(BINDIR)/ijq $(MANDIR)/man1/ijq.1
.PHONY: clean
clean:
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment