You are not logged in.

#1 2017-01-09 15:01:52

vadimkolchev
Member
Registered: 2012-06-05
Posts: 9

Create package from 1 local file

Hello.

I have written a simple scipt for my own use only. Is there a way to package it and install it in a system? It is just 1 text file that I have made executable.

Offline

#2 2017-01-09 15:04:39

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: Create package from 1 local file

Yes. Put a copy of the file in the same directory as your PKGBUILD and add the filename to the "sources" array in the PKGBUILD. If you are not familiar with PKGBUILDs, check the wiki:

https://wiki.archlinux.org/index.php/Pkgbuild
https://wiki.archlinux.org/index.php/Makepkg


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

Board footer

Powered by FluxBB