Skip to content

Commit

Permalink
PKGBUILD update
Browse files Browse the repository at this point in the history
  • Loading branch information
at-elcapitan committed Jul 4, 2023
1 parent 62bea52 commit 40dadcb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ MANPAGE_NAME=ds.1
SOURCE_DIR=src/
BUILD_DIR=build/

INSTALL_DIR=/usr/local/bin/
MANPAGE_DIR=/usr/share/man/man1/
INSTALL_DIR=usr/local/bin/
MANPAGE_DIR=usr/share/man/man1/

all : main.o
$(CXX) -o $(BUILD_DIR)$(TARGET_NAME) $(BUILD_DIR)$^
Expand Down
10 changes: 6 additions & 4 deletions PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@ sha256sums=('SKIP')

build() {
cd "$_gitname"
dir
make
}

package() {
cd "_gitname"
dir
make install
cd $_gitname
mkdir -p $pkgdir/usr/local/bin
mkdir -p $pkgdir/usr/share/man/man1

cp build/$pkgname $pkgdir/usr/local/bin
cp src/ds.1 $pkgdir/usr/share/man/man1/ds.1
}

0 comments on commit 40dadcb

Please sign in to comment.