24 lines
633 B
Markdown
24 lines
633 B
Markdown
---
|
|
title: Make Package
|
|
description: Information on how to make arch packages that can be used with pacman
|
|
published: true
|
|
date: 2025-05-30T08:51:35.864Z
|
|
tags:
|
|
editor: markdown
|
|
dateCreated: 2025-05-30T08:32:02.401Z
|
|
---
|
|
|
|
# Make Packages
|
|
|
|
In the root folder a [**PKGBUILD**](https://wiki.archlinux.org/title/PKGBUILD) file as to be created which contains configuration for the package.
|
|
|
|
```
|
|
myapp/
|
|
├── PKGBUILD
|
|
├── src/ ← $srcdir
|
|
│ └── unpacked source files here
|
|
├── pkg/ ← $pkgdir lives here
|
|
│ └── myapp/...
|
|
└── myapp-1.0-1-x86_64.pkg.tar.zst ← the final package
|
|
```
|